/* Scoped composition; colors and controls inherit the shared theme. */
.cancellationreason-search { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cancellationreason-search .form-label { margin: 0; white-space: nowrap; }
.cancellationreason-search .admin-search { width: min(100%, 360px); }
.cancellationreason-scroll-help { display: none; }
/* This short reference list uses page scrolling so the last record is never
   clipped by the shared grid viewport limit. Paging and horizontal scroll stay native. */
.cancellationreason-page #Grid > .k-grid-container > .k-grid-content,
.cancellationreason-page #Grid > .k-grid-content { max-height: none; }
.cancellationreason-page #Grid .k-grid-header th { color: var(--mkp-foreground); font-weight: 500; }
.cancellationreason-page #Grid td:nth-child(2) { overflow-wrap: anywhere; font-weight: 500; }
.cancellationreason-page #Grid td:first-child { font-variant-numeric: tabular-nums; }
.cancellationreason-page #Grid td:last-child .btn-group { gap: 4px; }
.cancellationreason-page #Grid td:last-child .btn { border-color: transparent; background: transparent; box-shadow: none; }
.cancellationreason-page #Grid td:last-child .btn:hover,
.cancellationreason-page #Grid td:last-child .btn:focus-visible { background: var(--mkp-muted); border-color: var(--mkp-border); }
.cancellationreason-page #Grid .k-grid-norecords { display: flex; align-items: center; justify-content: center; width: 100%; }
.cancellationreason-empty { padding: 32px 16px; text-align: center; white-space: normal; }
.cancellationreason-empty strong { display: block; color: var(--mkp-foreground); font-weight: 600; }
.cancellationreason-empty p { margin: 8px 0 0; color: var(--mkp-muted-foreground); }
.cancellationreason-form { max-width: 760px; }
.cancellationreason-form .card-body { padding: 24px; }
.cancellationreason-section-title { margin: 0 0 6px; font-size: 1rem; font-weight: 600; }
.cancellationreason-section-description { margin: 0 0 20px; color: var(--mkp-muted-foreground); }
.cancellationreason-options { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--mkp-border); }
.cancellationreason-form .form-check-label { font-weight: 500; }
.cancellationreason-page .cancellationreason-form .cancellationreason-options .form-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 8px; padding-left: 0; }
.cancellationreason-options .form-check > :is(.form-check-input, .icheckbox_flat-green) { grid-column: 1; grid-row: 1; float: none; margin: 4px 0 0; }
.cancellationreason-options .form-check-label { grid-column: 2; grid-row: 1; }
.cancellationreason-options .form-text { grid-column: 2; grid-row: 2; margin-top: 2px; }
.cancellationreason-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 16px 24px; }
@media (max-width: 575.98px) {
    .cancellationreason-search { flex-direction: column; align-items: stretch; gap: 6px; }
    .cancellationreason-search .admin-search { width: 100%; }
    .cancellationreason-scroll-help { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; color: var(--mkp-muted-foreground); font-size: 13px; }
    /* Keep both existing row actions in reach while the user scrolls the data. */
    .cancellationreason-page #Grid :is(th, td):last-child { position: sticky; right: 0; z-index: 1; background: var(--mkp-surface); box-shadow: -1px 0 var(--mkp-border); }
    .cancellationreason-form .card-body,
    .cancellationreason-actions { padding: 16px; }
}
