/* ============================================
   MY CLASSIA — Modern Design System v2.0
   Montserrat · Gradient Cards · Soft Shadows
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* ── CSS Custom Properties ── */
:root {
    /* Brand Colors — Refined Purple Palette */
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-lighter: #DDD6FE;
    --primary-dark: #5B21B6;
    --primary-deeper: #3B0764;
    --primary-glow: rgba(124, 58, 237, 0.28);
    --primary-bg: rgba(124, 58, 237, 0.08);

    /* Card Gradients — Each Section Gets Its Own Color */
    --grad-classes: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    --grad-students: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
    --grad-grades: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
    --grad-attendance: linear-gradient(135deg, #10B981 0%, #6EE7B7 100%);
    --grad-lessons: linear-gradient(135deg, #EC4899 0%, #F9A8D4 100%);
    --grad-announce: linear-gradient(135deg, #6366F1 0%, #A5B4FC 100%);
    --grad-articles: linear-gradient(135deg, #F43F5E 0%, #FDA4AF 100%);
    --grad-analytics: linear-gradient(135deg, #14B8A6 0%, #5EEAD4 100%);

    /* Backgrounds */
    --bg-primary: #F5F3FF;
    --bg-secondary: #ffffff;
    --bg-tertiary: #F1F0F8;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --bg-overlay: rgba(30, 10, 60, 0.5);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-strong: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-blur: 24px;

    /* Text */
    --text-primary: #1E1040;
    --text-secondary: #3B2F6E;
    --text-muted: #9E9ABB;
    --text-on-primary: #ffffff;

    /* Status Colors */
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.08);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.08);
    --info: #6366F1;

    /* Borders */
    --border: rgba(124, 58, 237, 0.1);
    --border-light: rgba(124, 58, 237, 0.06);

    /* Spacing — Generous */
    --space-xs: 0.3rem;
    --space-sm: 0.6rem;
    --space-md: 1rem;
    --space-lg: 1.6rem;
    --space-xl: 2.2rem;
    --space-2xl: 3.2rem;

    /* Typography — Montserrat */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.72rem;
    --font-size-sm: 0.84rem;
    --font-size-base: 0.98rem;
    --font-size-md: 1.1rem;
    --font-size-lg: 1.28rem;
    --font-size-xl: 1.65rem;
    --font-size-2xl: 2.1rem;
    --font-size-3xl: 2.6rem;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Shadows — Soft & Layered */
    --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 20px rgba(124, 58, 237, 0.10);
    --shadow-lg: 0 12px 36px rgba(124, 58, 237, 0.14);
    --shadow-glow: 0 6px 28px rgba(124, 58, 237, 0.25);
    --shadow-card: 0 2px 12px rgba(124, 58, 237, 0.07), 0 0 0 1px rgba(124, 58, 237, 0.05);

    /* Transitions */
    --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 320ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 520ms cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100dvh;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Utility ── */
.container {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-success {
    color: var(--success);
}

.text-error {
    color: var(--error);
}

.text-warning {
    color: var(--warning);
}

.font-bold {
    font-weight: 700;
}

.font-extra {
    font-weight: 800;
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

/* ── Gradient Text ── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Animations ── */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60%,
    100% {
        transform: rotate(0deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-12px) scale(0.94);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    30% {
        transform: scale(1.18) rotate(-5deg);
    }

    60% {
        transform: scale(1.1) rotate(4deg);
    }
}

@keyframes gradientOrb {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.15) translate(5px, -5px);
    }
}

.animate-fade-in {
    animation: fadeIn var(--transition-base) ease both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease both;
}

.animate-scale-in {
    animation: scaleIn var(--transition-base) ease both;
}

.animate-shake {
    animation: shake 0.5s ease;
}

.animate-float {
    animation: float 3.5s ease-in-out infinite;
}

.wave-emoji {
    display: inline-block;
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: 70% 70%;
    font-size: var(--font-size-3xl);
}

/* Stagger children */
.stagger-children>* {
    animation: fadeInUp 0.45s var(--spring) both;
}

.stagger-children>*:nth-child(1) {
    animation-delay: 0.04s;
}

.stagger-children>*:nth-child(2) {
    animation-delay: 0.09s;
}

.stagger-children>*:nth-child(3) {
    animation-delay: 0.14s;
}

.stagger-children>*:nth-child(4) {
    animation-delay: 0.19s;
}

.stagger-children>*:nth-child(5) {
    animation-delay: 0.24s;
}

.stagger-children>*:nth-child(6) {
    animation-delay: 0.29s;
}

.stagger-children>*:nth-child(7) {
    animation-delay: 0.34s;
}

.stagger-children>*:nth-child(8) {
    animation-delay: 0.39s;
}

/* ── Page Layout ── */
.page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.page-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border);
}

.page-header__title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.page-content {
    flex: 1;
    padding: var(--space-xl) var(--space-md);
    padding-bottom: 110px;
}

/* ── Header Logo Area ── */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: contain;
}

.header-logo-text {
    font-size: var(--font-size-md);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

/* ── Hamburger Button ── */
.hamburger-btn {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--primary-bg);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
    z-index: 60;
}

.hamburger-btn:active {
    transform: scale(0.88);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Side Navigation ── */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 5, 40, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 49;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.side-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 290px;
    max-width: 86vw;
    background: #ffffff;
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(124, 58, 237, 0.12);
}

.side-nav.active {
    transform: translateX(0);
}

.side-nav__header {
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 60%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.side-nav__header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: gradientOrb 6s ease-in-out infinite;
}

.side-nav__header-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.side-nav__brand {
    font-size: var(--font-size-xl);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.side-nav__subtitle {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.side-nav__links {
    flex: 1;
    padding: var(--space-md) var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 13px var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
}

.side-nav__link:hover,
.side-nav__link:active {
    background: var(--primary-bg);
    color: var(--primary);
}

.side-nav__link.active {
    background: var(--primary-bg);
    color: var(--primary);
    font-weight: 700;
}

.side-nav__link-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.7;
}

.side-nav__link.active .side-nav__link-icon {
    opacity: 1;
}

.side-nav__divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-sm) var(--space-md);
}

.side-nav__footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border);
}

.side-nav__logout {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    padding: 13px var(--space-md);
    border-radius: var(--radius-md);
    background: var(--error-bg);
    color: var(--error);
    font-weight: 700;
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
}

.side-nav__logout:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-xl);
    transition: var(--transition-fast);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--text-on-primary);
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 7px 26px rgba(124, 58, 237, 0.45);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-danger {
    background: var(--error-bg);
    color: var(--error);
    font-weight: 700;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--font-size-md);
    border-radius: var(--radius-lg);
}

/* FAB */
.fab {
    position: fixed;
    bottom: 30px;
    right: 24px;
    width: 62px;
    height: 62px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 28px rgba(124, 58, 237, 0.45);
    z-index: 30;
    transition: var(--transition-fast);
    animation: fadeInUp 0.4s ease 0.3s both;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 36px rgba(124, 58, 237, 0.55);
}

.fab:active {
    transform: scale(0.95);
}

.fab svg {
    width: 28px;
    height: 28px;
}

/* ── Generic Cards ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: rgba(124, 58, 237, 0.18);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card:active {
    transform: translateY(0);
}

.card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--primary-bg);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card__title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-top: var(--space-sm);
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.card__subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: 2px;
}

.card__actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Welcome Section ── */
.welcome-section {
    padding: var(--space-lg) 0 var(--space-xl);
    animation: fadeInDown 0.6s var(--spring) both;
}

.welcome-greeting {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.welcome-name {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

/* ── Action Cards Grid (Home) ── */
.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.action-card {
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    text-align: left;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

/* Gradient backgrounds for each card */
.action-card[data-type="classes"] {
    background: var(--grad-classes);
    border: none;
}

.action-card[data-type="students"] {
    background: var(--grad-students);
    border: none;
}

.action-card[data-type="grades"] {
    background: var(--grad-grades);
    border: none;
}

.action-card[data-type="attendance"] {
    background: var(--grad-attendance);
    border: none;
}

.action-card[data-type="lessons"] {
    background: var(--grad-lessons);
    border: none;
}

.action-card[data-type="announce"] {
    background: var(--grad-announce);
    border: none;
}

.action-card[data-type="articles"] {
    background: var(--grad-articles);
    border: none;
}

.action-card[data-type="analytics"] {
    background: var(--grad-analytics);
    border: none;
}

/* Decorative orb inside each gradient card */
.action-card::before {
    content: '';
    position: absolute;
    top: -24px;
    right: -24px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    animation: gradientOrb 5s ease-in-out infinite;
}

.action-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -16px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
}

.action-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.action-card:active {
    transform: translateY(0) scale(0.97);
}

/* Icon wrapper */
.action-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base);
    backdrop-filter: blur(4px);
}

.action-card:hover .action-card__icon {
    transform: scale(1.12) rotate(-5deg);
    animation: iconBounce 0.4s var(--spring) both;
}

/* For non-gradient cards, keep original icon colors */
.action-card:not([data-type]) .action-card__icon {
    background: transparent;
    color: inherit;
}

.action-card__label {
    font-weight: 800;
    font-size: var(--font-size-base);
    color: #ffffff;
    position: relative;
    z-index: 1;
    letter-spacing: -0.2px;
}

/* Non-gradient label color */
.action-card:not([data-type]) .action-card__label {
    color: var(--text-primary);
}

/* Locked cards */
.action-card--locked {
    opacity: 0.38;
    pointer-events: none;
    filter: grayscale(0.3);
}

.action-card--locked::after {
    content: '🔒';
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 12px;
    z-index: 2;
}

/* ── Section Labels ── */
.section-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-xl);
}

.section-label__text {
    font-weight: 800;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.section-label__line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, var(--border), transparent);
    border-radius: 2px;
}

/* ── Forms ── */
.form-group {
    margin-bottom: var(--space-xl);
}

.form-label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-sm);
}

.form-input-wrapper {
    position: relative;
}

.form-input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-input-wrapper .input-icon svg {
    width: 18px;
    height: 18px;
}

.form-input {
    width: 100%;
    padding: 15px 16px 15px 46px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
    background: #ffffff;
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-input--no-icon {
    padding-left: 16px;
}

.form-select {
    width: 100%;
    padding: 15px 44px 15px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: var(--transition-fast);
    outline: none;
    appearance: none;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

/* ── Login Page ── */
.login-page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(160deg, var(--bg-primary) 0%, #EDE9FE 50%, var(--bg-primary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Background decorative orbs */
.login-page::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    animation: gradientOrb 7s ease-in-out infinite;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
    animation: gradientOrb 9s ease-in-out infinite reverse;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    border: 1.5px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
    animation: scaleIn 0.55s var(--spring) both;
    position: relative;
    z-index: 1;
}

.login-card__logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary-deeper), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

.login-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.login-card__title {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.login-card__subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ── Toast System ── */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    pointer-events: none;
    width: 90vw;
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 700;
    background: var(--text-primary);
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: toastIn 0.35s var(--spring) both;
    pointer-events: all;
    max-width: 100%;
    word-break: break-word;
    letter-spacing: 0.1px;
}

.toast--removing {
    animation: toastOut 0.3s ease both;
}

.toast__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.toast__icon svg {
    width: 18px;
    height: 18px;
}

.toast__message {
    flex: 1;
}

/* ── Spinner Overlay ── */
.spinner-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    z-index: 900;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.spinner-overlay.active {
    display: flex;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3.5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.spinner-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ── Modals ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    z-index: 800;
    display: none;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease both;
}

.modal-overlay--center {
    align-items: center;
    padding: var(--space-lg);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--space-xl);
    width: 100%;
    max-width: 560px;
    max-height: 90dvh;
    overflow-y: auto;
    animation: slideInUp 0.4s var(--spring) both;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
}

.modal-overlay--center .modal {
    border-radius: var(--radius-xl);
    animation: scaleIn 0.35s var(--spring) both;
}

.modal__handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto var(--space-lg);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.modal__title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.modal__close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal__close:hover {
    background: var(--border);
    color: var(--text-primary);
}

.modal__close svg {
    width: 18px;
    height: 18px;
}

.modal__actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.modal__actions .btn {
    flex: 1;
}

.confirm-modal__warning {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--warning-bg);
    border-radius: var(--radius-md);
    color: var(--warning);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.5;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

/* ── Status Modal ── */
.status-modal {
    text-align: center;
    max-width: 340px;
}

.status-modal__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--space-lg);
    font-weight: 900;
}

.status-modal__icon--success {
    background: var(--success-bg);
    color: var(--success);
}

.status-modal__icon--error {
    background: var(--error-bg);
    color: var(--error);
}

.status-modal__title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.3px;
}

.status-modal__message {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    font-weight: 500;
}

/* ── Skeleton Loader ── */
.skeleton {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    border: 1px solid var(--border);
    animation: fadeIn 0.4s ease both;
}

.skeleton__line {
    height: 14px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--bg-tertiary) 0%, #EDE9FE 50%, var(--bg-tertiary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    margin-bottom: var(--space-sm);
}

.skeleton__line--short {
    width: 35%;
}

.skeleton__line--medium {
    width: 65%;
}

.skeleton__line--long {
    width: 100%;
}

/* ── Search Bar ── */
.search-bar {
    position: relative;
    margin-bottom: var(--space-lg);
}

.search-bar__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.search-bar__icon svg {
    width: 18px;
    height: 18px;
}

.search-bar__input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 500;
    outline: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.search-bar__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

/* ── Badge / Chip ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--primary {
    background: var(--primary-bg);
    color: var(--primary);
}

.badge--success {
    background: var(--success-bg);
    color: var(--success);
}

.badge--error {
    background: var(--error-bg);
    color: var(--error);
}

.badge--warning {
    background: var(--warning-bg);
    color: var(--warning);
}

/* ── Stats Row ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card__value {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--text-primary);
    display: block;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-card__label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* ── Empty State ── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    animation: fadeIn 0.5s ease both;
}

.empty-state__icon {
    font-size: 3.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.empty-state__title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.empty-state__desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
    font-weight: 500;
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-xl) 0;
    border-radius: 1px;
}

/* ── Animations for slideInUp ── */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* ── Back button ── */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: var(--font-size-sm);
    padding: var(--space-sm) 0;
    transition: var(--transition-fast);
}

.back-btn:hover {
    color: var(--primary);
    transform: translateX(-2px);
}

.back-btn svg {
    width: 18px;
    height: 18px;
}

/* ── List items ── */
.list-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    transition: var(--transition-fast);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.list-item:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.list-item:active {
    transform: translateY(0);
}

.list-item__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.list-item__content {
    flex: 1;
    min-width: 0;
}

.list-item__title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.list-item__subtitle {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
}

.list-item__action {
    flex-shrink: 0;
    color: var(--text-muted);
}

.list-item__action svg {
    width: 18px;
    height: 18px;
}

/* ── Attendance Status ── */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill--present {
    background: var(--success-bg);
    color: var(--success);
}

.status-pill--absent {
    background: var(--error-bg);
    color: var(--error);
}

.status-pill--late {
    background: var(--warning-bg);
    color: var(--warning);
}

.status-pill--excused {
    background: rgba(99, 102, 241, 0.1);
    color: #4F46E5;
}

.status-pill--na {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

/* ── QR / Attendance Button grid ── */
.attendance-btn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.att-btn {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    cursor: pointer;
}

.att-btn--present {
    background: var(--success-bg);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.att-btn--absent {
    background: var(--error-bg);
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.2);
}

.att-btn--late {
    background: var(--warning-bg);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.2);
}

.att-btn--excused {
    background: rgba(99, 102, 241, 0.08);
    color: #4F46E5;
    border-color: rgba(99, 102, 241, 0.2);
}

.att-btn.active,
.att-btn:active {
    transform: scale(0.96);
}

.att-btn--present.active {
    background: var(--success);
    color: white;
}

.att-btn--absent.active {
    background: var(--error);
    color: white;
}

.att-btn--late.active {
    background: var(--warning);
    color: white;
}

.att-btn--excused.active {
    background: #4F46E5;
    color: white;
}

/* ── Footer ── */
.page-footer {
    text-align: center;
    padding: var(--space-xl) 0 var(--space-lg);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ── Responsive ── */
@media (min-width: 480px) {
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .stats-row {
        gap: var(--space-lg);
    }
}

@media (min-width: 640px) {
    :root {
        --font-size-base: 1rem;
        --font-size-md: 1.15rem;
        --font-size-lg: 1.35rem;
    }
}

/* ═══════════════════════════════════════
   CUSTOM SELECT DROPDOWN — BOTTOM SHEET
═══════════════════════════════════════ */

.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* The trigger button */
.custom-select__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    min-height: 50px;
    box-shadow: var(--shadow-sm);
    outline: none;
}

.custom-select__trigger:hover {
    border-color: var(--primary-light);
}

.custom-select.open .custom-select__trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.custom-select__trigger-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select__trigger-text.placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.custom-select__arrow {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1), color 150ms ease;
}

.custom-select.open .custom-select__arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* ── Bottom Sheet Backdrop ── */
.cs-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 30, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.cs-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* ── Bottom Sheet Panel ── */
.cs-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 501;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -8px 40px rgba(124, 58, 237, 0.18), 0 -2px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 72dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cs-sheet.active {
    transform: translateY(0);
}

/* Drag handle */
.cs-sheet__handle {
    width: 36px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: var(--space-md) auto var(--space-sm);
    flex-shrink: 0;
}

/* Sheet header */
.cs-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cs-sheet__title {
    font-size: var(--font-size-sm);
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cs-sheet__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background var(--transition-fast);
}

.cs-sheet__close:hover {
    background: var(--border);
}

/* Scrollable options list */
.cs-sheet__options {
    overflow-y: auto;
    flex: 1;
    padding: var(--space-sm) 0 var(--space-lg);
}

.cs-sheet__options::-webkit-scrollbar {
    width: 4px;
}

.cs-sheet__options::-webkit-scrollbar-track {
    background: transparent;
}

.cs-sheet__options::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

/* Individual option row */
.cs-sheet__option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 100ms ease;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
}

.cs-sheet__option:active {
    background: var(--bg-tertiary);
}

.cs-sheet__option.selected {
    color: var(--primary);
    font-weight: 700;
}

.cs-sheet__option-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    transition: all 150ms ease;
}

.cs-sheet__option.selected .cs-sheet__option-dot {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.cs-sheet__option-label {
    flex: 1;
}

/* Disabled/header option */
.cs-sheet__option.disabled {
    color: var(--text-muted);
    pointer-events: none;
    font-weight: 500;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    min-height: 36px;
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}