@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Warna Profesional (Inter UI / Vercel Style) */
    --primary: oklch(0.55 0.2 260);       /* Biru Elegan */
    --secondary: oklch(0.55 0.2 300);     /* Ungu Lembut */
    
    --bg: oklch(0.98 0.005 260);          /* Background Abu Terang */
    --surface: oklch(1 0 0);              /* Putih Murni */
    --surface-hover: oklch(0.96 0.01 260);/* Abu Hover */
    
    --text-main: oklch(0.2 0.02 260);     /* Teks Hitam Lembut */
    --text-muted: oklch(0.5 0.02 260);    /* Teks Abu-abu */
    
    --border: oklch(0.92 0.01 260);       /* Garis Tipis */
    --danger: oklch(0.6 0.18 25);         /* Merah */
    --warning: oklch(0.7 0.15 50);        /* Oranye */
    --success: oklch(0.65 0.15 145);      /* Hijau */
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05);
}

[data-theme="dark"] {
    --bg: oklch(0.2 0.01 260);          /* Background Gelap */
    --surface: oklch(0.25 0.01 260);    /* Permukaan Gelap */
    --surface-hover: oklch(0.3 0.01 260);
    --text-main: oklch(0.98 0.01 260);   
    --text-muted: oklch(0.7 0.01 260);   
    --border: oklch(0.35 0.01 260);      
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TOMBOL & ALERT
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border: none; border-radius: var(--radius-sm);
    background: var(--primary); color: #fff; font-weight: 500; font-size: 0.9rem;
    cursor: pointer; text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.btn:hover {
    background: color-mix(in oklch, var(--primary) 85%, black);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-secondary { background: var(--secondary); }
.btn-secondary:hover { background: color-mix(in oklch, var(--secondary) 85%, black); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: color-mix(in oklch, var(--danger) 85%, black); }
.btn-warning { background: var(--warning); color: #fff; }
.btn-warning:hover { background: color-mix(in oklch, var(--warning) 85%, black); }
.btn-full { width: 100%; }

.alert {
    padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px;
    font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 10px;
}
.alert.error { background: color-mix(in oklch, var(--danger) 10%, white); color: var(--danger); border: 1px solid color-mix(in oklch, var(--danger) 20%, white); }
.alert.success { background: color-mix(in oklch, var(--success) 10%, white); color: var(--success); border: 1px solid color-mix(in oklch, var(--success) 20%, white); }

/* ==========================================================================
   LAYOUT OTENTIKASI & FORM
   ========================================================================== */
.auth-layout {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 20px;
}
.auth-card, .form-card {
    background: var(--surface);
    padding: 40px; border-radius: var(--radius-lg);
    width: 100%; box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.auth-card { max-width: 400px; }
.form-card { max-width: 600px; margin: 40px auto; container-type: inline-size; container-name: form-card; }

.auth-card h2, .form-card h2 { color: var(--text-main); font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; text-align: center; }
.auth-card p { color: var(--text-muted); font-size: 0.9rem; text-align: center; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-main); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg);
    font-family: inherit; font-size: 0.95rem; transition: all 0.2s;
    color: var(--text-main);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary); background: var(--surface);
    box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 15%, transparent);
}
.footer-link { margin-top: 24px; font-size: 0.9rem; text-align: center; color: var(--text-muted); }
.footer-link a { color: var(--primary); font-weight: 500; text-decoration: none; }
.footer-link a:hover { text-decoration: underline; }

.form-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .form-group.full { grid-column: 1 / -1; }
@container form-card (max-width: 500px) {
    .form-card form { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LAYOUT DASHBOARD (Sidebar & Main)
   ========================================================================== */
.dashboard-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px; background: var(--surface); border-right: 1px solid var(--border);
    padding: 24px 16px; display: flex; flex-direction: column; gap: 8px;
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
    transition: transform 0.3s ease;
}
.sidebar h2 { color: var(--text-main); font-size: 1.25rem; font-weight: 600; margin-bottom: 24px; padding: 0 12px; }
.menu-link {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
    border-radius: var(--radius-sm); border: none; background: transparent; cursor: pointer;
    transition: all 0.2s; width: 100%; text-align: left;
}
.menu-link i { font-size: 1.1rem; width: 20px; text-align: center; }
.menu-link:hover, .menu-link.active { background: var(--surface-hover); color: var(--primary); }
.menu-link.logout { color: var(--danger); margin-top: auto; }
.menu-link.logout:hover { background: color-mix(in oklch, var(--danger) 10%, transparent); color: var(--danger); }

.main-content {
    flex: 1; margin-left: 260px; padding: 40px;
    container-type: inline-size; container-name: dashboard;
}
.hamburger {
    display: none; position: fixed; top: 20px; left: 20px; z-index: 110;
    background: var(--surface); border: 1px solid var(--border); padding: 8px 12px;
    border-radius: var(--radius-sm); color: var(--text-main); cursor: pointer;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); }
    body.mob-open .sidebar { transform: translateX(0); box-shadow: 20px 0 50px rgba(0,0,0,0.1); }
    .main-content { margin-left: 0; padding: 80px 20px 30px; }
    .hamburger { display: block; }
}

/* ==========================================================================
   KALENDER
   ========================================================================== */
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.cal-header h2 { font-size: 1.25rem; font-weight: 600; color: var(--text-main); }
.btn-nav {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
    color: var(--text-main); text-decoration: none; font-weight: 500; transition: all 0.2s;
}
.btn-nav:hover { background: var(--surface-hover); border-color: var(--text-muted); }

.cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
    background: var(--border); border: 1px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden; margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}
.day-name { background: var(--bg); text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); padding: 12px 0; text-transform: uppercase; letter-spacing: 0.5px;}
.day-cell {
    background: var(--surface); min-height: 110px; padding: 10px;
    display: flex; flex-direction: column; cursor: pointer; position: relative;
    transition: background 0.2s;
}
.day-cell:hover { background: var(--bg); }
.day-cell.empty { background: var(--bg); cursor: default; }
.day-cell.has-data { background: var(--surface); }
.day-cell span { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; align-self: flex-end; }
.day-cell .badge {
    background: color-mix(in oklch, var(--primary) 10%, transparent); color: var(--primary);
    font-size: 0.7rem; font-weight: 500; padding: 4px 6px; border-radius: 4px;
    margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.day-cell .overlap {
    background: var(--danger); color: #fff; font-size: 0.65rem; font-weight: 600;
    padding: 3px 6px; border-radius: 4px; position: absolute; bottom: 8px; right: 8px;
}

/* ==========================================================================
   TABEL DATA GRID (Container Query + CSS Grid)
   ========================================================================== */
.data-wrapper { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.data-wrapper h3 { padding: 20px 24px; font-size: 1.1rem; font-weight: 600; color: var(--text-main); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }

.table-responsive { overflow-x: auto; padding: 0 24px 24px; }
.table { width: 100%; border-collapse: collapse; min-width: 600px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-weight: 600; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.table td { font-size: 0.9rem; color: var(--text-main); }
.table tbody tr { transition: background 0.2s; }
.table tbody tr:hover { background: var(--bg); }
.table td:nth-child(4) { width: 100%; /* Make deskripsi take remaining space */ }

.data-grid { padding: 0 24px 24px; }
.data-header {
    display: grid; grid-template-columns: 100px 140px 1fr 180px; gap: 16px;
    padding: 16px 0 12px; font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border);
}
.data-row {
    display: grid; grid-template-columns: 100px 140px 1fr 180px; gap: 16px;
    align-items: center; padding: 16px 0; border-bottom: 1px solid var(--bg);
    font-size: 0.9rem;
}
.data-row:last-child { border-bottom: none; }
.data-row .actions { display: flex; gap: 8px; }

@container dashboard (max-width: 768px) {
    .data-header { display: none; }
    .data-row {
        grid-template-columns: 1fr; gap: 8px; padding: 16px;
        background: var(--bg); border-radius: var(--radius-sm); margin-top: 16px; border: 1px solid var(--border);
    }
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999;
    display: none; align-items: flex-start; justify-content: center; backdrop-filter: blur(4px); padding: 16px; overflow-y: auto;
}
.modal-content {
    background: var(--surface); width: 100%; max-width: 480px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-height: calc(100vh - 130px); display: flex; flex-direction: column;
    margin: 100px auto auto auto;
    animation: modalShow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalShow { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-head {
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.modal-head h3 { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.modal-head button { background: none; border: none; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; transition: 0.2s; }
.modal-head button:hover { color: var(--danger); }
.modal-body { padding: 24px; max-height: 70vh; overflow-y: auto; }

.m-item {
    background: var(--bg); border: 1px solid var(--border); padding: 16px;
    border-radius: var(--radius-sm); margin-bottom: 12px; border-left: 4px solid var(--primary);
}
.m-item .m-badge {
    background: color-mix(in oklch, var(--primary) 10%, transparent); color: var(--primary);
    padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; display: inline-block; margin-bottom: 8px;
}

/* ==========================================================================
   UX ENHANCEMENTS (Toast, FAB, Empty State)
   ========================================================================== */
.toast {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    background: var(--surface); color: var(--text-main); border-left: 4px solid var(--success);
    padding: 16px 24px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px; font-weight: 600;
    transform: translateY(100px); opacity: 0; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--success); font-size: 1.2rem; }

.fab {
    position: fixed; bottom: 30px; right: 30px; z-index: 900;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary); color: white; border: none;
    box-shadow: var(--shadow-lg); font-size: 1.5rem;
    display: none; place-items: center; cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
}
.fab:hover { transform: scale(1.05); background: color-mix(in oklch, var(--primary) 80%, black); }
@media (max-width: 768px) { .fab { display: grid; } }

.empty-state {
    text-align: center; padding: 40px 20px; color: var(--text-muted);
}
.empty-state i { font-size: 4rem; margin-bottom: 15px; opacity: 0.5; }
.empty-state h3 { color: var(--text-main); margin-bottom: 5px; }

.alert-banner {
    background: color-mix(in oklch, var(--warning) 15%, var(--surface));
    border: 1px solid color-mix(in oklch, var(--warning) 50%, var(--surface));
    color: var(--text-main);
    padding: 15px 20px; border-radius: var(--radius-md);
    margin: 20px 24px 0 24px; display: flex; gap: 15px; align-items: flex-start;
}
.alert-banner i { color: var(--warning); font-size: 1.5rem; margin-top: 2px; }

/* Visual Hierarchy Adjustments */
.menu-link.secondary { opacity: 0.8; font-weight: 400; border-left-color: transparent !important; }
.menu-link.secondary:hover { opacity: 1; background: var(--bg); }
.menu-link.primary { background: color-mix(in oklch, var(--primary) 10%, transparent); font-weight: 600; color: var(--primary); }

/* Password Eye Icon Input */
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 40px; }
.password-wrapper i {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); cursor: pointer;
}
.password-wrapper i:hover { color: var(--text-main); }

/* ==========================================================================
   ADVANCED UX (Drop Zone, Loading Btn, Time Chips, Validation)
   ========================================================================== */
.drop-zone {
    border: 2px dashed var(--border); border-radius: var(--radius-md);
    padding: 30px; text-align: center; color: var(--text-muted); cursor: pointer;
    transition: all 0.2s ease; background: var(--bg); position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--primary); background: color-mix(in oklch, var(--primary) 5%, var(--surface)); }
.drop-zone input[type="file"] {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; cursor: pointer;
}
.drop-zone i { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }

.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px;
    border: 3px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%;
    animation: spin 0.8s linear infinite; margin-top: -10px; margin-left: -10px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.time-presets { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.time-chip {
    background: var(--bg); border: 1px solid var(--border); color: var(--text-main);
    padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500;
    cursor: pointer; transition: 0.2s;
}
.time-chip:hover { background: var(--primary); color: white; border-color: var(--primary); }

.validation-msg { font-size: 0.8rem; margin-top: 5px; font-weight: 500; display: block; }
.validation-msg.success { color: var(--success); }
.validation-msg.error { color: var(--danger); }

/* ==========================================================================
   ULTIMATE UX (Page Transitions & Lightbox & Drafts)
   ========================================================================== */
body { animation: fadeIn 0.4s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 9999; display: none;
    align-items: center; justify-content: center; backdrop-filter: blur(5px);
    opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.show { display: flex; opacity: 1; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.lightbox-close {
    position: absolute; top: 20px; right: 30px; font-size: 2.5rem; color: white;
    cursor: pointer; transition: 0.2s; background: none; border: none;
}
.lightbox-close:hover { color: var(--danger); transform: scale(1.1); }
.draft-badge {
    font-size: 0.75rem; background: var(--warning); color: white;
    padding: 2px 8px; border-radius: 12px; margin-left: 10px; display: none;
}
.greeting-text {
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px;
    padding-left: 15px; display: block; border-left: 3px solid var(--primary);
}

.custom-context-menu {
    position: fixed; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 5px 0; min-width: 160px; z-index: 10000; display: none; flex-direction: column;
}
.custom-context-menu.show { display: flex; }
.custom-context-menu button {
    background: none; border: none; padding: 10px 20px; text-align: left; width: 100%;
    cursor: pointer; font-size: 0.9rem; color: var(--text-main); display: flex; gap: 10px; align-items: center;
    transition: 0.1s;
}
.custom-context-menu button:hover { background: color-mix(in oklch, var(--primary) 10%, var(--surface)); color: var(--primary); }
.custom-context-menu button.danger:hover { background: color-mix(in oklch, var(--danger) 10%, var(--surface)); color: var(--danger); }
.holiday-label { 
    font-size: 0.65rem; 
    color: var(--danger); 
    background: color-mix(in oklch, var(--danger) 15%, transparent); 
    padding: 3px 6px; 
    border-radius: 4px; 
    font-weight: 600; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 65%;
    display: inline-block;
}
.day-cell.holiday { 
    background: color-mix(in oklch, var(--danger) 5%, var(--surface)); 
}

/* ==========================================================================
   ULTIMATE WORLD-CLASS CSS ENHANCEMENTS (God-Tier UI)
   ========================================================================== */

/* 1. Glassmorphism & Modern Shadows */
.sidebar {
    background: color-mix(in oklch, var(--surface) 85%, transparent) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid color-mix(in oklch, var(--border) 50%, transparent);
    box-shadow: 10px 0 30px rgba(0,0,0,0.02);
}

.main-content {
    background: var(--bg);
    background-image: 
        radial-gradient(at 0% 0%, color-mix(in oklch, var(--primary) 4%, transparent) 0px, transparent 50%),
        radial-gradient(at 100% 100%, color-mix(in oklch, var(--success) 3%, transparent) 0px, transparent 50%);
    background-attachment: fixed;
}

/* 2. Enhanced Floating Action Button (FAB) */
.fab {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), color-mix(in oklch, var(--primary) 70%, #000));
    color: white !important;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px color-mix(in oklch, var(--primary) 40%, transparent), inset 0 2px 5px rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: none;
}
.fab:hover {
    transform: translateY(-5px) scale(1.08) rotate(90deg);
    box-shadow: 0 15px 35px color-mix(in oklch, var(--primary) 60%, transparent), inset 0 2px 5px rgba(255,255,255,0.4);
}
.fab i {
    margin: 0;
    padding: 0;
    display: block;
    line-height: 1;
}

/* 3. Table Rows Hover Micro-interactions */
tbody tr {
    transition: all 0.2s ease;
}
tbody tr:hover {
    background: var(--surface-hover);
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 10;
    position: relative;
    border-radius: var(--radius-md);
}
tbody tr:hover td {
    border-color: transparent;
}
tbody tr td:first-child { border-top-left-radius: var(--radius-md); border-bottom-left-radius: var(--radius-md); }
tbody tr td:last-child { border-top-right-radius: var(--radius-md); border-bottom-right-radius: var(--radius-md); }

/* 4. Calendar Cell Enhancements */
.day-cell {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}
.day-cell.has-data {
    box-shadow: inset 0 0 0 1px var(--border);
}
.day-cell:hover:not(.empty) {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06), inset 0 0 0 1px var(--primary);
    border-color: var(--primary);
    z-index: 2;
}

/* 5. Stat Cards Hover Glow */
.main-content > div:nth-child(2) > div {
    transition: all 0.3s ease;
}
.main-content > div:nth-child(2) > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* 6. Button Enhancements */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.1); z-index: -1; transform: translateY(100%); transition: 0.3s;
}
.btn:hover::after { transform: translateY(0); }

/* 7. Modal Glassmorphism */
.modal-content {
    background: color-mix(in oklch, var(--surface) 95%, transparent);
    backdrop-filter: blur(25px);
    border: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* 8. Logout Menu Danger styling */
.menu-link.logout { transition: all 0.3s ease; }
.menu-link.logout:hover { 
    background: color-mix(in oklch, var(--danger) 10%, transparent) !important;
    color: var(--danger) !important;
    padding-left: 20px;
}
