:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #eef2ff;
    --sidebar-bg: #0f172a;
    --sidebar-hover: #1e293b;
    --sidebar-active: #4f46e5;
    --body-bg: #f1f5f9;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --sidebar-width: 260px;
    --navbar-height: 64px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--body-bg);
    -webkit-font-smoothing: antialiased;
}

/* ===== APP LAYOUT ===== */
.app-body { margin: 0; min-height: 100vh; }

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.app-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.25s ease;
}

.app-content {
    flex: 1;
    padding: 1.5rem 2rem;
}

.app-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ===== SIDEBAR ===== */
.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: transform 0.25s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--sidebar-active);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.brand-text { display: flex; flex-direction: column; }

.brand-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.2;
}

.brand-role {
    color: #94a3b8;
    font-size: 0.75rem;
}

.sidebar-nav {
    flex: 1;
    padding: 0.75rem;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2px;
    transition: all 0.15s ease;
}

.sidebar-link i { font-size: 1.125rem; width: 20px; text-align: center; }

.sidebar-link:hover {
    background: var(--sidebar-hover);
    color: #e2e8f0;
}

.sidebar-link.active {
    background: var(--sidebar-active);
    color: #fff;
}

/* Sidebar submenu (Input Data, dll.) */
.sidebar-group { margin-bottom: 0.125rem; }

.sidebar-group-toggle {
    cursor: pointer;
    text-align: left;
}

.sidebar-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.sidebar-group.open .sidebar-chevron {
    transform: rotate(180deg);
}

.sidebar-submenu {
    display: none;
    padding-left: 0.5rem;
    margin-bottom: 0.25rem;
}

.sidebar-group.open .sidebar-submenu {
    display: block;
}

.sidebar-sublink {
    padding-left: 2.25rem !important;
    font-size: 0.875rem;
}

.sidebar-sublink i {
    font-size: 1rem;
    width: 18px;
}

.sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-logout:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1035;
}

/* ===== NAVBAR ===== */
.app-navbar {
    height: var(--navbar-height);
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.sidebar-toggle {
    color: var(--text-primary);
    padding: 0.25rem;
    margin-right: 0.5rem;
}

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border: none;
    background: transparent;
    padding: 0.375rem 0.5rem;
    border-radius: 8px;
}

.user-dropdown:hover { background: var(--body-bg); }

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
}

.siswa-foto-preview-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--border-color, #dee2e6);
}

.siswa-foto-preview-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 12px;
    background: var(--body-bg);
    border: 2px dashed var(--border-color, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted, #6c757d);
}

.user-info { text-align: left; line-height: 1.2; }

.user-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== PAGE ===== */
.page-header {
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.page-subtitle {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9375rem;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    flex-shrink: 0;
}

.stat-primary .stat-icon { background: var(--primary-light); color: var(--primary); }
.stat-success .stat-icon { background: #ecfdf5; color: #059669; }
.stat-warning .stat-icon { background: #fffbeb; color: #d97706; }
.stat-danger  .stat-icon { background: #fef2f2; color: #dc2626; }
.stat-icon-muted { background: var(--body-bg); color: var(--text-secondary); }

.stat-value {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stat-value-sm { font-size: 1rem; }

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.quick-link-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: inherit;
}

.quick-link-card i { font-size: 1.75rem; flex-shrink: 0; }
.quick-link-card strong { display: block; font-size: 0.875rem; }
.quick-link-card small { color: var(--text-secondary); font-size: 0.75rem; }

/* ===== CARDS ===== */
.card-modern {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-modern.card-overflow-visible,
.card-modern.card-overflow-visible .card-body {
    overflow: visible;
}

.card-modern .card-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
}

.card-modern .card-title {
    font-size: 1rem;
    font-weight: 600;
}

/* ===== MODAL MODERN ===== */
.modal-modern .modal-content {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md, 0 8px 30px rgba(15, 23, 42, 0.12));
    overflow: hidden;
}

.modal-modern .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    align-items: flex-start;
}

.modal-modern .modal-header-text {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.modal-modern .modal-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modal-modern .modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-modern .modal-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.modal-modern .modal-body {
    padding: 1.25rem 1.5rem;
}

.modal-modern .modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    background: var(--body-bg);
}

/* ===== UPLOAD SISWA MODAL ===== */
.modal-upload-siswa .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
    overflow: hidden;
}

.modal-upload-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
}

.modal-upload-header .modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-upload-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-upload-close {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
}

.btn-upload-close:hover {
    background: #bb2d3b;
    color: #fff;
}

.upload-dropzone {
    margin: 1.25rem;
    border: 2px dashed #c4a882;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragover {
    border-color: #a08060;
    background: #fff8f0;
}

.upload-dropzone-inner {
    text-align: center;
    padding: 2rem 1rem;
    pointer-events: none;
}

.upload-dropzone-icon {
    font-size: 3rem;
    color: #adb5bd;
    display: block;
    margin-bottom: 0.75rem;
}

.upload-dropzone-text {
    color: #6c757d;
    font-size: 0.9375rem;
}

.upload-table-wrap {
    border-top: 1px solid var(--border-color);
    padding: 0 1rem 1rem;
}

.upload-file-table thead th {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
}

.upload-file-table tbody td {
    font-size: 0.8125rem;
    padding: 0.625rem 0.5rem;
    vertical-align: middle;
}

.upload-filename {
    font-weight: 500;
    word-break: break-all;
}

.upload-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    min-width: 80px;
}

.upload-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.modal-upload-footer {
    justify-content: flex-end;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* ===== MODULE GRID ===== */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.module-item {
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
    transition: box-shadow 0.15s ease;
}

.module-item:hover { box-shadow: var(--shadow-md); }

.module-item i { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.module-item h6 { font-weight: 600; margin-bottom: 0.375rem; }
.module-item p { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 0.75rem; }

.role-list .list-group-item { font-size: 0.875rem; padding: 0.75rem 1.25rem; }

.empty-state {
    text-align: center;
    color: var(--text-secondary);
}

.empty-state i { font-size: 2.5rem; opacity: 0.4; display: block; margin-bottom: 0.5rem; }

/* ===== DATA TABLES ===== */
.data-table thead th {
    background: var(--body-bg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
}

.data-table tbody td {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }

/* ===== BACKUP / RESTORE (gaya RDM) ===== */
.backup-restore-panel {
    background: #fff;
    border: 1px solid #d8dde6;
    border-radius: 4px;
    box-shadow: none;
    overflow: hidden;
}

.backup-restore-panel .br-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #e8ecf1;
}

.backup-restore-panel .br-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2c3e6b;
    margin: 0;
    line-height: 1.2;
}

.backup-restore-panel .br-subtitle {
    font-size: 0.8125rem;
    color: #8a94a6;
    margin: 0.2rem 0 0;
}

.backup-restore-panel .br-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.btn-rdm {
    background: #337ab7;
    border: 1px solid #2e6da4;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.btn-rdm:hover,
.btn-rdm:focus {
    background: #286090;
    border-color: #204d74;
    color: #fff;
}

.backup-restore-panel .btn-rdm-outline {
    background: #fff;
    border: 1px solid #ccc;
    color: #555;
    font-size: 0.8125rem;
    padding: 0.45rem 0.65rem;
    border-radius: 4px;
}

.backup-restore-panel .br-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.8125rem;
    color: #555;
}

.backup-restore-panel .br-toolbar select,
.backup-restore-panel .br-toolbar input {
    font-size: 0.8125rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0.25rem 0.4rem;
    margin: 0 0.25rem;
}

.backup-restore-panel .br-toolbar input[type="search"] {
    min-width: 180px;
    padding: 0.3rem 0.5rem;
}

.backup-restore-panel .br-table-wrap {
    overflow-x: auto;
    border-top: 1px solid #e8ecf1;
}

.backup-restore-panel .br-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.backup-restore-panel .br-table thead th {
    background: #fff;
    color: #2c3e6b;
    font-weight: 700;
    padding: 0.65rem 1rem;
    border-bottom: 2px solid #e8ecf1;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.backup-restore-panel .br-table thead th.br-sortable:hover {
    background: #f8f9fb;
}

.backup-restore-panel .br-table tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #eef1f5;
    vertical-align: middle;
    color: #333;
}

.backup-restore-panel .br-table tbody tr:hover td {
    background: #f9fafb;
}

.backup-restore-panel .br-table .br-name {
    color: #c7254e;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.8rem;
}

.backup-restore-panel .br-empty td {
    text-align: center;
    color: #888;
    padding: 2rem 1rem !important;
    border-bottom: none !important;
}

.backup-restore-panel .br-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid #e8ecf1;
    font-size: 0.8125rem;
    color: #555;
}

.backup-restore-panel .br-paginate {
    display: flex;
    gap: 0.35rem;
}

.backup-restore-panel .br-paginate button {
    background: none;
    border: none;
    color: #337ab7;
    font-size: 0.8125rem;
    padding: 0.15rem 0.35rem;
    cursor: pointer;
}

.backup-restore-panel .br-paginate button:disabled {
    color: #aaa;
    cursor: not-allowed;
}

.backup-restore-panel .btn-download-rdm {
    background: #5cb85c;
    border: 1px solid #4cae4c;
    color: #fff;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.backup-restore-panel .btn-download-rdm:hover {
    background: #449d44;
    color: #fff;
}

.backup-restore-panel .br-actions-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.backup-restore-panel .btn-delete-rdm {
    background: #d9534f;
    border: 1px solid #d43f3a;
    color: #fff;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
}

.backup-restore-panel .btn-delete-rdm:hover {
    background: #c9302c;
    border-color: #ac2925;
    color: #fff;
}

.modal-restore-rdm .upload-dropzone {
    min-height: 140px;
    cursor: pointer;
}

.icon-gear-spin {
    display: inline-block;
    animation: gear-spin 2.5s linear infinite;
}

@keyframes gear-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Autocomplete siswa */
.siswa-autocomplete {
    position: relative;
}

.siswa-autocomplete-list {
    position: absolute;
    z-index: 1050;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.siswa-autocomplete-item {
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}

.siswa-autocomplete-item:last-child {
    border-bottom: none;
}

.siswa-autocomplete-item:hover,
.siswa-autocomplete-item.active {
    background: var(--primary-light);
}

.siswa-autocomplete-item strong {
    display: block;
    font-weight: 600;
}

.siswa-autocomplete-item span {
    font-size: 0.8125rem;
}

.siswa-autocomplete-empty {
    padding: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
}

/* ===== AUTH PAGE ===== */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    position: relative;
    overflow: hidden;
}

.auth-page {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.auth-header { text-align: center; margin-bottom: 1.75rem; }

.auth-logo {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 1.5rem;
}

.auth-header h1 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.auth-form .input-group-text {
    background: var(--body-bg);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.auth-submit {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 10px;
}

.auth-submit:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.auth-demo { text-align: center; }

.demo-accounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    justify-content: center;
}

.auth-bg-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.3) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
}

/* ===== ERROR PAGES ===== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--body-bg);
    text-align: center;
    padding: 2rem;
}

.error-code {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
    opacity: 0.3;
}

.error-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .app-sidebar { transform: translateX(-100%); }
    .app-sidebar.open { transform: translateX(0); }
    .sidebar-overlay.show { display: block; }
    .app-main { margin-left: 0; }
    .app-content { padding: 1rem; }
}

@media (max-width: 575.98px) {
    .stat-value { font-size: 1.125rem; }
    .page-title { font-size: 1.25rem; }
}
