/**
 * Admin Report Theme — reusable slate report UI.
 * Wrap page content (or body) with .admin-report-theme
 */
.admin-report-theme {
    font-size: 16px;
    color: #334155;
}

/* ── Hero & titles ── */
.admin-report-theme .rep-hero {
    background: #fafbfc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
}

.admin-report-theme .rep-title {
    font-weight: 800;
    font-size: 1.55rem;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-report-theme .rep-title i,
.admin-report-theme .rep-title .rep-title__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.admin-report-theme .rep-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}

/* ── Filters ── */
.admin-report-theme .rep-filters-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    overflow-x: auto;
}

.admin-report-theme .rep-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
}

.admin-report-theme .rep-filters .form-select,
.admin-report-theme .rep-filters .form-control,
.admin-report-theme .rep-filters .input-group {
    flex: 1 1 0;
    min-width: 130px;
}

.admin-report-theme .rep-filters-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Row-based filter forms (legacy pages) inside rep-filters-bar */
.admin-report-theme .rep-filters-bar form.row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    align-items: flex-end;
    width: 100%;
    margin: 0;
}

.admin-report-theme .rep-filters-bar form.row > [class*="col-"] {
    flex: 1 1 0;
    min-width: 130px;
    padding: 0;
}

.admin-report-theme .rep-filters-bar form.row > .col-auto {
    flex: 0 0 auto;
    min-width: auto;
}

.admin-report-theme .rep-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.admin-report-theme .rep-pill .btn {
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.admin-report-theme .rep-pill .btn.btn-light {
    background: transparent;
    border-color: transparent;
    color: #64748b;
}

.admin-report-theme .rep-pill .btn-period-active,
.admin-report-theme .rep-pill .btn.active {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #334155;
}

.admin-report-theme .form-select,
.admin-report-theme .form-control {
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border-color: #e2e8f0;
}

/* ── Stat blocks ── */
.admin-report-theme .deals-hero {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    height: 100%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.admin-report-theme .deals-hero__label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.admin-report-theme .deals-hero__value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.admin-report-theme .deals-hero__period {
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
}

.admin-report-theme .rep-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    height: 100%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-report-theme .rep-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

.admin-report-theme .rep-stat-card__label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.admin-report-theme .rep-stat-card__value {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin: 0;
}

.admin-report-theme .rep-stat-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.admin-report-theme .status-mini {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    height: 100%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.admin-report-theme .status-mini__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.admin-report-theme .status-mini .item,
.admin-report-theme .item {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.admin-report-theme .status-mini .item .label,
.admin-report-theme .item .label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #64748b;
}

.admin-report-theme .status-mini .item .num,
.admin-report-theme .item .num {
    font-size: 1.5rem;
    font-weight: 800;
}

/* ── Panels & tables ── */
.admin-report-theme .rep-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    height: 100%;
}

.admin-report-theme .rep-panel__head {
    background: #f8fafc;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.9rem 1.15rem;
    font-size: 1.08rem;
    font-weight: 800;
}

.admin-report-theme .rep-panel__body {
    padding: 1.15rem;
}

.admin-report-theme .rep-panel__body.p-0 {
    padding: 0;
}

.admin-report-theme .rep-table {
    margin: 0;
    font-size: 1rem;
}

.admin-report-theme .rep-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 800;
    font-size: 0.98rem;
    border-color: #e2e8f0;
    white-space: nowrap;
    padding: 0.8rem 0.9rem;
}

.admin-report-theme .rep-table tbody td {
    padding: 0.75rem 0.9rem;
    font-weight: 600;
    border-color: #e2e8f0;
    vertical-align: middle;
    color: #334155;
}

.admin-report-theme .rep-table tbody tr:hover {
    background: #fafbfc;
}

.admin-report-theme .rep-table tfoot td {
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
    font-size: 1rem;
    border-color: #e2e8f0;
    padding: 0.85rem 0.9rem;
}

.admin-report-theme .rep-pagination {
    padding: 0.85rem 1.15rem;
    border-top: 1px solid #e2e8f0;
    background: #fafbfc;
}

.admin-report-theme .rep-pagination .pagination {
    margin-bottom: 0;
}

/* ── Cards & items ── */
.admin-report-theme .rep-item-card {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-report-theme .rep-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.admin-report-theme .rep-item-card--interactive {
    cursor: pointer;
}

.admin-report-theme .rep-empty {
    border: 1px dashed rgba(100, 116, 139, 0.28);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.8);
    color: #64748b;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.admin-report-theme .tabular-nums {
    font-variant-numeric: tabular-nums;
    direction: ltr;
    unicode-bidi: isolate;
}

/* ── Modals ── */
.admin-report-theme.rep-modal .modal-content,
.admin-report-theme .rep-modal .modal-content {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.admin-report-theme.rep-modal .modal-header,
.admin-report-theme .rep-modal .modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.9rem 1.15rem;
}

.admin-report-theme.rep-modal .modal-title,
.admin-report-theme .rep-modal .modal-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #334155;
}

.admin-report-theme.rep-modal .modal-footer,
.admin-report-theme .rep-modal .modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 0.85rem 1.15rem;
}

.admin-report-theme.rep-modal .modal-body.p-0,
.admin-report-theme .rep-modal .modal-body.p-0 {
    padding: 0;
}

/* ── My Diplomas topbar (report-styled nav) ── */
.admin-report-theme #page-topbar.my-diplomas-topbar {
    position: sticky !important;
    top: 0;
    right: 0 !important;
    left: 0 !important;
    z-index: 1002;
    height: auto;
    min-height: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.admin-report-theme .my-diplomas-hero-shell {
    padding: 16px 12px 0;
    background: #f8fafc;
}

.admin-report-theme .my-diplomas-hero {
    background: #fafbfc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.admin-report-theme .my-diplomas-hero__content {
    padding: 1.15rem 1.35rem;
}

.admin-report-theme .my-diplomas-greeting h1 {
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.admin-report-theme .my-diplomas-greeting .text-role {
    font-weight: 600;
    color: #64748b;
}

.admin-report-theme .my-diplomas-nav {
    gap: 6px;
}

.admin-report-theme .my-diplomas-nav__link {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 0.45rem 0.9rem !important;
    box-shadow: none;
}

.admin-report-theme .my-diplomas-nav__link:hover,
.admin-report-theme .my-diplomas-nav__link.active {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.admin-report-theme .my-diplomas-header-actions {
    gap: 8px;
}

.admin-report-theme .my-diplomas-header-icon,
.admin-report-theme .my-diplomas-header-actions .header-action-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
}

.admin-report-theme .my-diplomas-header-icon:hover,
.admin-report-theme .my-diplomas-header-actions .header-action-btn:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.admin-report-theme .my-diplomas-header-actions .header-action-btn__icon {
    color: #64748b;
}

.admin-report-theme .my-diplomas-header-actions .header-action-btn--avatar {
    border-width: 2px;
    border-color: #e2e8f0;
}

.admin-report-theme .my-diplomas-topbar .topbar-user--my-diplomas {
    height: auto;
    background: transparent !important;
}

.admin-report-theme .my-diplomas-topbar .header-item {
    height: auto;
}

.admin-report-theme .my-diplomas-topbar .my-diplomas-avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    border: 2px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    padding: 0;
    overflow: hidden;
}

.admin-report-theme .my-diplomas-topbar .my-diplomas-avatar-btn:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.admin-report-theme .my-diplomas-topbar .my-diplomas-avatar-btn .header-avatar-initials {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.admin-report-theme .my-diplomas-operator-select {
    min-width: 180px;
    font-weight: 600;
    border-radius: 10px !important;
    border-color: #e2e8f0 !important;
    font-size: 0.875rem;
}

[data-layout-mode="dark"] .admin-report-theme .my-diplomas-hero-shell {
    background: #111827;
}

[data-layout-mode="dark"] .admin-report-theme .my-diplomas-hero,
[data-layout-mode="dark"] .admin-report-theme .rep-hero,
[data-layout-mode="dark"] .admin-report-theme .rep-panel,
[data-layout-mode="dark"] .admin-report-theme .deals-hero,
[data-layout-mode="dark"] .admin-report-theme .rep-stat-card,
[data-layout-mode="dark"] .admin-report-theme .status-mini {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

@media (max-width: 991.98px) {
    .admin-report-theme .my-diplomas-hero__content {
        padding: 1rem;
    }
}

.admin-report-theme .rep-item-card--interactive {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-report-theme .rep-item-card--interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

@media (max-width: 767.98px) {
    .admin-report-theme .rep-filters {
        flex-wrap: wrap;
    }

    .admin-report-theme .rep-filters-bar form.row {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .admin-report-theme .my-diplomas-hero-shell {
        padding: 10px 8px 0;
    }

    .admin-report-theme .my-diplomas-nav__link {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

    .admin-report-theme .rep-title {
        font-size: 1.3rem;
    }

    .admin-report-theme .deals-hero__value {
        font-size: 2.25rem;
    }
}

/* ── Page background ── */
.admin-report-theme.page-content,
.page-content.admin-report-theme {
    background: #f8fafc;
}

/* ── Tabular nums (RTL-safe) — see base .tabular-nums above ── */

.admin-report-theme .cell-sub {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
}

/* ── Status stat cards (clickable) ── */
.admin-report-theme .status-stat-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    height: 100%;
}

.admin-report-theme .status-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
    color: inherit;
}

.admin-report-theme .status-stat-card.is-active {
    border-color: #475569;
    box-shadow: 0 0 0 2px rgba(71, 85, 105, 0.12);
}

.admin-report-theme .status-stat-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.admin-report-theme .status-stat-card__label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #64748b;
}

.admin-report-theme .status-stat-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
}

.admin-report-theme .status-stat-card__value {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}

.admin-report-theme .status-stat-card--success .status-stat-card__icon { background: #ecfdf5; border-color: #a7f3d0; color: #059669; }
.admin-report-theme .status-stat-card--warning .status-stat-card__icon { background: #fffbeb; border-color: #fde68a; color: #d97706; }
.admin-report-theme .status-stat-card--danger .status-stat-card__icon { background: #fef2f2; border-color: #fecaca; color: #dc2626; }

/* ── Tabs (reports) ── */
.admin-report-theme .rep-tabs-wrap {
    margin-bottom: 1.25rem;
}

.admin-report-theme .rep-tabs {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.35rem;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.admin-report-theme .rep-tabs .nav-link {
    border-radius: 10px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
    border: 1px solid transparent;
}

.admin-report-theme .rep-tabs .nav-link:hover {
    color: #334155;
    background: rgba(255, 255, 255, 0.6);
}

.admin-report-theme .rep-tabs .nav-link.active {
    background: #fff;
    border-color: #e2e8f0;
    color: #1e293b;
    font-weight: 700;
}

.admin-report-theme .rep-tab-body {
    margin-top: 1.25rem;
}

/* ── Percent badges ── */
.admin-report-theme .pct-badge {
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-report-theme .pct-badge--danger { background: #fef2f2; color: #dc2626; }
.admin-report-theme .pct-badge--warning { background: #fffbeb; color: #d97706; }
.admin-report-theme .pct-badge--muted { background: #f1f5f9; color: #64748b; }

/* ── Semantic state colors ── */
.admin-report-theme .text-success { color: #059669 !important; }
.admin-report-theme .text-warning { color: #d97706 !important; }
.admin-report-theme .text-danger { color: #dc2626 !important; }

.admin-report-theme .bg-success-subtle { background: #ecfdf5 !important; color: #059669 !important; border-color: #a7f3d0 !important; }
.admin-report-theme .bg-warning-subtle { background: #fffbeb !important; color: #d97706 !important; border-color: #fde68a !important; }
.admin-report-theme .bg-danger-subtle { background: #fef2f2 !important; color: #dc2626 !important; border-color: #fecaca !important; }

/* ── Flatpickr RTL ── */
.admin-report-theme .flatpickr-calendar {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.admin-report-theme .flatpickr-months {
    background: #f8fafc;
    height: 42px;
    border-radius: 12px 12px 0 0;
}

.admin-report-theme .flatpickr-day.selected,
.admin-report-theme .flatpickr-day.startRange,
.admin-report-theme .flatpickr-day.endRange {
    background: #475569;
    border-color: #475569;
}

.admin-report-theme .flatpickr-day.inRange {
    background: #f1f5f9;
    border-color: #f1f5f9;
    box-shadow: -5px 0 0 #f1f5f9, 5px 0 0 #f1f5f9;
}

.admin-report-theme .flatpickr-months .flatpickr-prev-month,
.admin-report-theme .flatpickr-months .flatpickr-next-month {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-report-theme .flatpickr-months .flatpickr-prev-month:hover,
.admin-report-theme .flatpickr-months .flatpickr-next-month:hover {
    background: #e2e8f0;
}

[dir="rtl"] .admin-report-theme .flatpickr-months .flatpickr-prev-month { right: 10px; left: auto; }
[dir="rtl"] .admin-report-theme .flatpickr-months .flatpickr-next-month { left: 10px; right: auto; }

/* ── Breadcrumb ── */
.admin-report-theme .rep-breadcrumb {
    margin-bottom: 1.25rem;
}

.admin-report-theme .rep-breadcrumb .breadcrumb {
    margin-bottom: 0;
    font-size: 0.92rem;
    font-weight: 600;
}

.admin-report-theme .rep-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
}

.admin-report-theme .rep-breadcrumb .breadcrumb-item a:hover {
    color: #334155;
}

.admin-report-theme .rep-breadcrumb .breadcrumb-item.active {
    color: #1e293b;
}

/* ── Alerts ── */
.admin-report-theme .rep-alert {
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* ── Legacy compatibility (prominent-card → rep-panel) ── */
.admin-report-theme .prominent-card,
.admin-report-theme .rep-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.admin-report-theme .prominent-card .card-header,
.admin-report-theme .rep-panel__head {
    background: #f8fafc;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.9rem 1.15rem;
    font-size: 1.08rem;
    font-weight: 800;
}

.admin-report-theme .prominent-card .card-title {
    color: #334155 !important;
    font-weight: 800 !important;
    font-size: 1.08rem;
}

.admin-report-theme .prominent-card .card-body,
.admin-report-theme .rep-panel__body {
    padding: 1.15rem;
}

.admin-report-theme .prominent-card .card-body.p-0,
.admin-report-theme .rep-panel__body.p-0 {
    padding: 0;
}

.admin-report-theme .admin-table,
.admin-report-theme .rep-table {
    margin: 0;
    font-size: 1rem;
}

.admin-report-theme .admin-table thead th,
.admin-report-theme .rep-table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 800;
    font-size: 0.98rem;
    border-color: #e2e8f0;
    white-space: nowrap;
    padding: 0.8rem 0.9rem;
    text-transform: none;
    letter-spacing: normal;
}

.admin-report-theme .admin-table tbody td,
.admin-report-theme .rep-table tbody td {
    padding: 0.75rem 0.9rem;
    font-weight: 600;
    border-color: #e2e8f0;
    vertical-align: middle;
    color: #334155;
}

.admin-report-theme .admin-table tbody tr:hover,
.admin-report-theme .rep-table tbody tr:hover {
    background: #fafbfc;
}

.admin-report-theme .card-footer {
    padding: 0.85rem 1.15rem;
    border-top: 1px solid #e2e8f0;
    background: #fafbfc;
}

/* ── Page-specific wrapper aliases (same values) ── */
.admin-reports-page,
.students-refunded-report,
.students-cancelled-report,
.refund-requests-report {
    font-size: 16px;
    color: #334155;
}

.admin-reports-page .rep-hero,
.students-refunded-report .rep-hero,
.students-cancelled-report .rep-hero,
.refund-requests-report .rep-hero,
.admin-report-theme .rep-hero {
    background: #fafbfc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
}

/* ── Form focus states ── */
.admin-report-theme .form-control:focus,
.admin-report-theme .form-select:focus {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 0.2rem rgba(71, 85, 105, 0.12);
}

/* ── Button overrides (slate actions) ── */
.admin-report-theme .btn-dark {
    background-color: #334155;
    border-color: #334155;
}

.admin-report-theme .btn-dark:hover,
.admin-report-theme .btn-dark:focus {
    background-color: #1e293b;
    border-color: #1e293b;
}

.admin-report-theme .btn-outline-secondary {
    border-color: #e2e8f0;
    color: #64748b;
    font-weight: 700;
}

.admin-report-theme .btn-outline-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

.admin-report-theme .btn-soft-primary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.admin-report-theme .btn-soft-primary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.admin-report-theme .btn-soft-info {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.admin-report-theme .btn-soft-info:hover {
    background: #f1f5f9;
    color: #334155;
}

.admin-report-theme .btn-soft-secondary {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.admin-report-theme .btn-soft-warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.admin-report-theme .btn-soft-success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.admin-report-theme .btn-soft-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ── Nav tabs inside panels ── */
.admin-report-theme .nav-tabs {
    border-bottom-color: #e2e8f0;
}

.admin-report-theme .nav-tabs .nav-link {
    color: #64748b;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
}

.admin-report-theme .nav-tabs .nav-link.active {
    color: #1e293b;
    font-weight: 700;
    border-color: #e2e8f0 #e2e8f0 #fff;
    background: #fff;
}

/* ── Dark mode extended ── */
[data-layout-mode="dark"] .admin-report-theme.page-content,
[data-layout-mode="dark"] .page-content.admin-report-theme {
    background: #111827;
}

[data-layout-mode="dark"] .admin-report-theme .rep-table thead th,
[data-layout-mode="dark"] .admin-report-theme .rep-filters-bar,
[data-layout-mode="dark"] .admin-report-theme .status-stat-card {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-layout-mode="dark"] .admin-report-theme .rep-table tbody td {
    color: #e2e8f0;
    border-color: #334155;
}

[data-layout-mode="dark"] .admin-report-theme .rep-table tbody tr:hover {
    background: #334155;
}
