/* PrepaidCard: page composition only; shared controls retain their native behavior. */
.prepaidcard-page { min-width: 0; }
.prepaidcard-page .admin-page-header { margin-bottom: 24px; }
.prepaidcard-page .admin-page-actions { flex-wrap: wrap; }
.prepaidcard-list { padding: 16px; }
.prepaidcard-toolbar { display: flex; align-items: center; min-width: 0; margin: 0 100px 12px 0; min-height: 36px; }
.prepaidcard-search { width: 380px; max-width: 100%; }
.prepaidcard-page #Grid { --mkp-grid-cell-y: 1px; position: relative; overflow: visible; }
/* Place the original Kendo export toolbar beside search without moving its
   controls through the responsive toolbar's overflow manager. */
.prepaidcard-page #Grid .k-grid-toolbar { position: absolute; top: -49px; right: 0; width: 100%; padding: 0; min-height: 36px; border: 0; justify-content: flex-end; background: transparent; pointer-events: none; }
.prepaidcard-page #Grid .k-grid-toolbar :is(button, a) { pointer-events: auto; }
.prepaidcard-page #Grid .k-grid-toolbar .k-grid-excel { border: 1px solid var(--mkp-border); min-height: 36px; }
.prepaidcard-page #Grid .k-grid-content { max-height: none; }
.prepaidcard-page #Grid td { vertical-align: middle; }
.prepaidcard-page #Grid td:nth-child(2),
.prepaidcard-page #Grid td:nth-child(3),
.prepaidcard-page #Grid td:nth-child(5),
.prepaidcard-page #Grid td:nth-child(7) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.prepaidcard-page #Grid td:nth-child(4),
.prepaidcard-page #Grid td:nth-child(6) { white-space: nowrap; }
.prepaidcard-name { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prepaidcard-name:focus-visible { outline: 2px solid var(--mkp-muted-foreground); outline-offset: 2px; border-radius: 2px; }
.prepaidcard-reseller { display: flex; align-items: center; gap: 8px; }
.prepaidcard-reseller strong { flex: 0 0 auto; }
.prepaidcard-reseller strong { font-size: 12px; color: var(--mkp-muted-foreground); font-weight: 500; }
.prepaidcard-empty { display: grid; gap: 6px; padding: 32px 16px; color: var(--mkp-muted-foreground); }
.prepaidcard-empty strong { color: var(--mkp-foreground); font-weight: 600; }
.prepaidcard-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.prepaidcard-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.prepaidcard-section { margin: 0; min-width: 0; }
.prepaidcard-section .card-header { padding: 20px 24px 0; border-bottom: 0; }
.prepaidcard-section .card-header h2 { margin: 0; font-size: 16px; font-weight: 600; }
.prepaidcard-section .card-header p { margin: 6px 0 0; color: var(--mkp-muted-foreground); }
.prepaidcard-section .card-body { padding: 20px 24px 24px; }
.prepaidcard-association { grid-column: 1 / -1; }
.prepaidcard-association-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.prepaidcard-options { display: grid; gap: 12px; padding-top: 24px; }
.prepaidcard-options label { margin: 0; }
.prepaidcard-protected { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--mkp-muted-foreground); }
.prepaidcard-protected i { margin-right: 4px; }
@media (max-width: 767.98px) {
    .prepaidcard-toolbar { flex-basis: calc(100% - 100px); }
    .prepaidcard-search { width: 100%; }
    .prepaidcard-list { padding: 12px; }
    .prepaidcard-form-layout, .prepaidcard-association-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .prepaidcard-section .card-header { padding: 16px 16px 0; }
    .prepaidcard-section .card-body { padding: 16px; }
    .prepaidcard-options { padding-top: 0; }
}

/* Header labels remain complete beside the sorting and filter controls. */
.prepaidcard-page #Grid .k-column-title { white-space: normal; overflow: visible; text-overflow: clip; }

.prepaidcard-page #Grid .k-column-title { overflow-wrap: normal; word-break: normal; }
.prepaidcard-page #Grid .k-grid-norecords { display: flex; align-items: center; justify-content: center; width: 100%; }
