:root {
    color-scheme: light;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(15, 139, 141, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(212, 162, 58, 0.12), transparent 35%),
        #f6f5ef;
    color: #132238;
    --bs-primary: #d4a23a;
    --bs-primary-rgb: 212, 162, 58;
    --bs-secondary: #0f8b8d;
    --bs-secondary-rgb: 15, 139, 141;
    --bs-success: #2f9d76;
    --bs-success-rgb: 47, 157, 118;
    --bs-info: #0f8b8d;
    --bs-info-rgb: 15, 139, 141;
    --bs-warning: #d4a23a;
    --bs-warning-rgb: 212, 162, 58;
    --bs-danger: #c95f57;
    --bs-danger-rgb: 201, 95, 87;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: transparent; scroll-behavior: smooth; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img, video, canvas, svg { max-width: 100%; height: auto; }

body .admin-shell { display: grid !important; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); min-height: 100vh; transition: grid-template-columns 0.3s ease; }
body .admin-shell.sidebar-hidden { grid-template-columns: 0 1fr; }
body .sidebar {
    background: linear-gradient(180deg, rgba(8, 34, 58, 0.98), rgba(10, 44, 71, 0.96));
    color: #dbe4f0;
    padding: 32px 15px;
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 12px 0 40px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    min-width: 300px;
}
body .sidebar.hidden { transform: translateX(-100%); }
body .brand { display: flex; align-items: center; gap: 12px; }
body .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 139, 141, 0.16);
    border: 1px solid rgba(15, 139, 141, 0.26);
}
body .brand-dot { width: 12px; height: 12px; border-radius: 999px; background: linear-gradient(135deg, #7fd6d3, #0f8b8d); box-shadow: 0 0 0 6px rgba(15, 139, 141, 0.14); }
body .brand-title { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.04em; color: #f8fafc; }
body .brand-subtitle { margin-top: 2px; font-size: 0.82rem; color: #94a3b8; }
body .sidebar nav { display: grid; gap: 10px; }
body .sidebar a, body .sidebar button { display: inline-flex; align-items: center; gap: 12px;  /* width: 100%;  */ padding: 13px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: #cbd5e1; font-weight: 700; transition: all 0.2s ease; }
body .sidebar a i, body .sidebar button i { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; font-size: 1.1rem; line-height: 1; font-family: 'bootstrap-icons' !important; font-style: normal; }
body .sidebar a.active, body .sidebar a:hover, body .sidebar button:hover { background: rgba(15, 139, 141, 0.18); border-color: rgba(212, 162, 58, 0.28); color: #ffffff; }
body .sidebar .sidebar-dropdown { display: grid; gap: 6px; }
body .sidebar .sidebar-dropdown-toggle { justify-content: space-between; }
body .sidebar .sidebar-dropdown-toggle .dropdown-icon { transition: transform 0.2s ease; }
body .sidebar .sidebar-dropdown.open .dropdown-icon { transform: rotate(180deg); }
body .sidebar .sidebar-dropdown-menu { display: none; gap: 4px; padding-left: 32px; }
body .sidebar .sidebar-dropdown-menu.open { display: grid; }
body .sidebar .sidebar-dropdown-menu a { padding-left: 5px; font-size: 14px;}
body .sidebar .section-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: #94a3b8; margin-top: 12px; }

body .main { background: transparent; display: flex; flex-direction: column; flex: 1; min-width: 0; }
body .topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 30px; gap: 16px; background: rgba(255, 255, 255, 0.84); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(18, 34, 56, 0.12); }
.topbar h1 { margin: 0; font-size: 1.5rem; color: #0f172a; }
.topbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.page-layout-wrapper { width: 100%; max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; }
.topbar-actions button { padding: 10px 16px; border-radius: 12px; border: 1px solid #cbd5e1; background: #ffffff; color: #334155; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.topbar-actions button:hover { background: #f8fafc; border-color: #94a3b8; transform: translateY(-1px); }

.content { padding: clamp(18px, 2.5vw, 32px); min-width: 0; overflow-x: clip; }
.panel-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; padding: 24px; border-radius: 24px; background: linear-gradient(135deg, rgba(8, 34, 58, 0.98), rgba(15, 139, 141, 0.92)); color: #f8fafc; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18); }
.eyebrow { margin: 0 0 8px; color: #1f9e9d; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
h1 { margin: 0; font-size: clamp(1.75rem, 2.5vw, 2.5rem); }
.panel-header h1, .panel-header .subtitle, .panel-header .eyebrow { color: #f8fafc; }
.panel-header .eyebrow { color: #89ddd8; }
.panel-header .subtitle { margin: 10px 0 0; color: rgba(248, 250, 252, 0.82); max-width: 680px; }
.subtitle { margin: 10px 0 0; color: #475569; max-width: 680px; }
.message, .error { border-radius: 18px; padding: 18px; margin-bottom: 24px; }

.summary-grid,
.action-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.summary-card,
.action-card,
.surface-card {
    border-radius: 22px;
    border: 1px solid rgba(18, 34, 56, 0.12);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.summary-card .card-body,
.action-card .card-body,
.surface-card .card-body {
    padding: 1.35rem;
}

.summary-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #5d6c77;
    font-weight: 700;
}

.summary-value {
    margin: 0.4rem 0 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f2741;
}

.summary-note {
    margin: 0.35rem 0 0;
    color: #5d6c77;
}

.action-card {
    min-height: 140px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
}

.action-card .card-title {
    margin-bottom: 0.45rem;
    font-weight: 800;
}

.action-card .action-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.14), rgba(212, 162, 58, 0.10));
    color: #0f8b8d;
    font-size: 1.35rem;
}

.filter-card {
    border-radius: 20px;
    border: 1px solid rgba(18, 34, 56, 0.12);
    background: #ffffff;
}

.filter-card .card-body {
    padding: 1.5rem;
}

.filter-card .form-label {
    font-weight: 600;
    color: #274055;
}

.filter-card .form-control {
    border-radius: 12px;
    border-color: rgba(18, 34, 56, 0.16);
}

.data-table-card {
    border-radius: 20px;
    border: 1px solid rgba(18, 34, 56, 0.12);
    background: #ffffff;
}

.data-table-card .card-body {
    padding: 1.5rem;
}

.data-table-card .table-responsive {
    overflow-x: auto;
}

.data-table-card table {
    width: 100%;
    min-width: 100%;
    margin-bottom: 0;
}

.data-table-card table thead th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #274055;
}

.data-table-card thead th {
    background: #f4f1e9;
    border-bottom: 2px solid rgba(18, 34, 56, 0.12);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 12px;
    border: 1px solid rgba(18, 34, 56, 0.16);
    padding: 0.45rem 0.8rem;
    margin-left: 0.5rem;
    background: #ffffff;
}

.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: #5d6c77 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #334155 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border-color: rgba(212, 162, 58, 0.34) !important;
    background: rgba(212, 162, 58, 0.12) !important;
    color: #8c651f !important;
}

.data-table-card .status-select {
    min-width: 105px;
    width: 100%;
    max-width: 220px;
}
.panel-section { scroll-margin-top: 110px; }

.module-card {
    border-radius: 24px;
    border: 1px solid rgba(18, 34, 56, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.module-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(18, 34, 56, 0.08);
    padding: 1.25rem 1.35rem 0.95rem;
}

.module-card .card-body { padding: 1.35rem; }

.module-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: #0f8b8d;
}

.module-title {
    margin: 0.2rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.module-subtitle {
    margin: 0.45rem 0 0;
    color: #5d6c77;
}

.metric-card {
    padding: 1.35rem;
    border-radius: 22px;
    border: 1px solid rgba(18, 34, 56, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 245, 239, 0.92));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.14), rgba(212, 162, 58, 0.16));
    color: #0f8b8d;
    font-size: 1.2rem;
}

.metric-label {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #61707c;
    font-weight: 700;
}

.metric-value {
    margin: 0.35rem 0 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f2741;
}

.metric-note { margin: 0.25rem 0 0; color: #5d6c77; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-present,
.status-paid,
.status-complete,
.status-ready,
.status-approved,
.status-converted {
    background: rgba(47, 157, 118, 0.14);
    color: #1b7a58;
}

.status-absent,
.status-unpaid,
.status-pending,
.status-new,
.status-followup,
.status-ongoing {
    background: rgba(201, 95, 87, 0.14);
    color: #a13c34;
}

.status-partial,
.status-booked,
.status-invite,
.status-approved {
    background: rgba(212, 162, 58, 0.16);
    color: #8b621d;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem;
}

.calendar-day {
    min-height: 108px;
    padding: 0.9rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid rgba(18, 34, 56, 0.1);
}

.calendar-day .day-name {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #5d6c77;
    font-weight: 700;
}

.calendar-day .day-label {
    margin-top: 0.65rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0f2741;
}

.calendar-day .day-note {
    margin-top: 0.45rem;
    color: #5d6c77;
    font-size: 0.9rem;
}

.workflow-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.workflow-card {
    border-radius: 18px;
    border: 1px solid rgba(18, 34, 56, 0.1);
    background: #ffffff;
    padding: 1rem;
}

.workflow-step {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0f8b8d;
    font-weight: 800;
}

.workflow-title {
    margin-top: 0.35rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0f2741;
}

.workflow-note {
    margin: 0.35rem 0 0;
    color: #5d6c77;
    font-size: 0.92rem;
}

.table-action {
    border: 0;
    background: transparent;
    color: #0f8b8d;
    font-weight: 700;
    padding: 0;
}

.table-action:hover { color: #0a6768; text-decoration: underline; }

.module-card .table thead th { background: #f4f1e9; }
.module-card .table tbody tr:hover { background: rgba(15, 139, 141, 0.03); }

.summary-panel {
    border-radius: 22px;
    border: 1px solid rgba(18, 34, 56, 0.12);
    background: linear-gradient(135deg, rgba(8, 34, 58, 0.98), rgba(15, 139, 141, 0.92));
    color: #f8fafc;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.summary-panel .module-subtitle,
.summary-panel .metric-note,
.summary-panel .metric-label,
.summary-panel .workflow-note { color: rgba(248, 250, 252, 0.8); }

.summary-panel .metric-value,
.summary-panel .module-title { color: #f8fafc; }
.summary-panel .metric-icon { background: rgba(255, 255, 255, 0.16); color: #ffffff; }
.message { background: rgba(15, 139, 141, 0.10); color: #0b5f61; border: 1px solid rgba(15, 139, 141, 0.22); }
.error { background: rgba(201, 95, 87, 0.10); color: #8f2e2a; border: 1px solid rgba(201, 95, 87, 0.22); }

@media (max-width: 1100px) {
    body .admin-shell { grid-template-columns: 1fr; }
    body .sidebar { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 20px; gap: 16px; width: 100%; min-width: 0; position: sticky; top: 0; z-index: 1030; }
    body .sidebar nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; background: rgba(8, 34, 58, 0.98); padding: 20px; border-radius: 0 0 20px 20px; z-index: 1000; border: 1px solid rgba(18, 34, 56, 0.16); max-height: calc(100vh - 84px); overflow-y: auto; }
    body .sidebar.open nav { display: grid; }
    body .main { padding-top: 0; }
    body .topbar { padding: 20px; }
    body .content { padding: 20px; }
    .topbar-actions button:hover { background: var(--bs-btn-hover-bg); border-color: #cbd5e1; }
    .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .calendar-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .panel-header { flex-direction: column; align-items: flex-start; }
    .sidebar { padding: 18px; }
    .topbar-actions { flex-wrap: wrap; }
    .dashboard-grid,
    .summary-grid,
    .action-grid,
    .stats-grid,
    .charts-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }

    .summary-card .card-body,
    .action-card .card-body,
    .surface-card .card-body,
    .data-table-card .card-body,
    .filter-card .card-body {
        padding: 1rem;
    }
}

/* Auth pages */
body.auth-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(15, 139, 141, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(212, 162, 58, 0.16), transparent 32%),
        linear-gradient(180deg, #081d33 0%, #0f2741 40%, #f6f5ef 40%, #f6f5ef 100%);
    color: #132238;
}

.auth-shell .auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(360px, 0.95fr);
}

.auth-shell .auth-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 56px);
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    gap: 32px;
    background:
        linear-gradient(145deg, rgba(8, 29, 51, 0.98), rgba(10, 49, 74, 0.95)),
        url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1400&q=80') center/cover;
}

.auth-shell .auth-hero::before,
.auth-shell .auth-hero::after {
    content: '';
    position: absolute;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
}

.auth-shell .auth-hero::before {
    width: 320px;
    height: 320px;
    top: -90px;
    right: -110px;
    background: radial-gradient(circle, rgba(15, 139, 141, 0.22), transparent 65%);
}

.auth-shell .auth-hero::after {
    width: 260px;
    height: 260px;
    bottom: -90px;
    left: -70px;
    background: radial-gradient(circle, rgba(212, 162, 58, 0.18), transparent 65%);
}

.auth-shell .auth-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.auth-shell .auth-brand img {
    height: 34px;
    width: auto;
}

.auth-shell .auth-brand-copy {
    max-width: 28rem;
    position: relative;
    z-index: 1;
}

.auth-shell .auth-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 139, 141, 0.16);
    color: #b8f1ef;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.auth-shell .auth-hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 2.2vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #f8fafc;
}

.auth-shell .auth-hero p {
    margin: 18px 0 0;
    max-width: 44rem;
    color: rgba(248, 250, 252, 0.82);
    font-size: 1.03rem;
    line-height: 1.8;
}

.auth-shell .auth-points {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    z-index: 1;
}

.auth-shell .auth-point {
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.auth-shell .auth-point strong {
    display: block;
    color: #fff7d6;
    font-size: 0.95rem;
}

.auth-shell .auth-point span {
    display: block;
    margin-top: 4px;
    color: rgba(248, 250, 252, 0.76);
    font-size: 0.88rem;
}

.auth-shell .auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 48px);
}

.auth-shell .auth-card {
    width: min(100%, 560px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 34, 56, 0.10);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.auth-shell .auth-card-body {
    padding: clamp(24px, 4vw, 38px);
}

.auth-shell .auth-card-header {
    margin-bottom: 26px;
}

.auth-shell .auth-card-header .eyebrow {
    color: #0f8b8d;
}

.auth-shell .auth-card-header h2 {
    margin: 10px 0 0;
    color: #0f2741;
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    letter-spacing: -0.04em;
}

.auth-shell .auth-card-header p {
    margin: 12px 0 0;
    color: #5d6c77;
    line-height: 1.7;
}

.auth-shell .auth-alert {
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.auth-shell .auth-alert.success {
    background: rgba(15, 139, 141, 0.10);
    border: 1px solid rgba(15, 139, 141, 0.22);
    color: #0b5f61;
}

.auth-shell .auth-alert.error {
    background: rgba(201, 95, 87, 0.10);
    border: 1px solid rgba(201, 95, 87, 0.22);
    color: #8f2e2a;
}

.auth-shell .auth-form-grid {
    display: grid;
    gap: 14px;
}

.auth-shell .auth-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-shell .form-group {
    margin: 0;
    position: relative;
}

.auth-shell .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.auth-shell .form-control,
.auth-shell .form-select {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(18, 34, 56, 0.16);
    background: #fffdf8;
    color: #0f172a;
    box-shadow: none;
}

.auth-shell .form-control:focus,
.auth-shell .form-select:focus {
    border-color: #0f8b8d;
    box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.12);
}

.auth-shell .auth-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 0.95rem;
}

.auth-shell .auth-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.auth-shell .auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f8b8d 0%, #0a6d6f 55%, #d4a23a 140%);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 16px 34px rgba(15, 139, 141, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-shell .auth-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(15, 139, 141, 0.28);
    filter: brightness(1.02);
}

.auth-shell .auth-footer {
    margin-top: 18px;
    color: #5d6c77;
    font-size: 0.95rem;
    line-height: 1.7;
}

.auth-shell .auth-footer a {
    color: #0f8b8d;
    font-weight: 800;
}

.auth-shell .auth-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.auth-shell .auth-link-row a {
    color: #0f8b8d;
    font-weight: 700;
}

.auth-shell .auth-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-shell .auth-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(248, 250, 252, 0.82);
}

.auth-shell .auth-list li i {
    color: #d4a23a;
    margin-top: 2px;
}

@media (max-width: 1100px) {
    .auth-shell .auth-wrap {
        grid-template-columns: 1fr;
    }

    .auth-shell .auth-hero {
        min-height: auto;
    }

    .auth-shell .auth-hero p {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .auth-shell .auth-points,
    .auth-shell .auth-row {
        grid-template-columns: 1fr;
    }

    .auth-shell .auth-panel {
        padding: 16px;
    }

    .auth-shell .auth-card-body {
        padding: 22px;
    }
}

/* Dashboard styles */
.dashboard-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.dashboard-header {
    display: grid;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    grid-column: 1 / -1;
}

.dashboard-header h2 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.dashboard-header p {
    margin: 0;
    color: #64748b;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stats-card {
    min-height: 170px;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-card h5 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.stats-card h2 {
    font-size: 2.3rem;
    line-height: 1;
}

.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.chart-card {
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
}

.chart-card .card-body {
    padding: 1.5rem;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.quick-actions-card {
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-actions-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1rem;
}

.quick-card {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
}

.attendance-hero {
    display: grid;
    gap: 1rem;
}

.attendance-hero .badge {
    width: fit-content;
}

.attendance-table-card {
    overflow: hidden;
}

.attendance-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-weight: 700;
    font-size: 0.82rem;
}

.attendance-status.present { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.attendance-status.absent { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.attendance-status.late { background: rgba(212, 162, 58, 0.16); color: #8c651f; }

.action-bar {
    background: #fefaf4;
    border: 1px solid #f3d7a270;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.action-item{
    display:flex;
    align-items:center;
    gap:7px;
    padding:10px;
    height:100%;
}

.action-item.border-end{
    border-color:#ececec !important;
}
span.in-progress {
    color: #1b7a58;
}
span.text-upcoming {
    color: #a13c34;
}
span.text-greens {
    color: #1b7a58;
}
span.text-greens {
    color: #1b7a58;
}

.icon-circle{
    width:48px;
    height:48px;
    min-width:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:600;
}

.icon-yellow{
    background:#fff3dc;
    color:#f5a623;
}

.badge-yellow{
    background:#ffb400;
    color:#fff;
}

.badge-pink{
    background:#f52963;
    color:#fff;
}

.badge-green{
    background:#76d38d;
    color:#fff;
}

.count-circle{
    width:34px;
    height:34px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    font-size:14px;
}

.action-title{
    font-size:18px;
    font-weight:600;
    color:#212529;
    margin-bottom:0;
}

.item-title{
    font-size:16px;
    font-weight:600;
    margin-bottom:2px;
}

.item-subtitle{
    font-size:14px;
    color:#6c757d;
}

.view-btn{
    border:1px solid rgba(15, 139, 141, 0.92);
    color:#000000;
    font-weight:600;
    border-radius:12px;
    padding:12px 24px;
}

.view-btn:hover{
    background:linear-gradient(135deg, rgba(8, 34, 58, 0.98), rgba(15, 139, 141, 0.92));
    color:#fff;
}
.genius-banner {
            background: linear-gradient(90deg, #083c46 0%, #004c5a 50%, #013540 100%);
            border-radius: 8px;
            padding: 18px 24px;
            color: #fff;
            overflow: hidden;
            position: relative;
        }

        .banner-icon {
            width: 54px;
            height: 54px;
            border: 2px solid rgba(0, 255, 255, .4);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            flex-shrink: 0;
        }

        .banner-icon i {
            font-size: 26px;
        }

        .banner-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 2px;
        }

        .banner-subtitle {
            font-size: 14px;
            color: rgba(255,255,255,.85);
            margin-bottom: 0;
        }

        .banner-right {
            opacity: .25;
            font-size: 70px;
            color: #7de3e7;
        }

      
@media (min-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }

    .dashboard-header {
        grid-column: 1 / -1;
    }

    .quick-actions-card {
        grid-column: 2;
    }
}

@media (max-width: 1100px) {
    .stats-grid,
    .charts-grid,
    .quick-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    /* #sidebarToggle-mobile {
        display: inline-flex;
    }
     .sidebarToggle-desk {
        display: none;
    } */
}

@media (max-width: 700px) {
    .quick-grid {
        grid-template-columns: 1fr;
    }
    .banner-title {
                font-size: 18px;
            }

            .banner-subtitle {
                font-size: 12px;
            }

            .banner-right {
                display: none;
            }
}
