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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-hover: #1e1e2a;
    --accent: #c9a96e;
    --accent-light: #e8c99a;
    --accent-glow: rgba(201, 169, 110, 0.15);
    --text-primary: #f0ede8;
    --text-secondary: #9e9b94;
    --text-muted: #5a5750;
    --success: #4caf82;
    --warning: #e8a94a;
    --danger: #e05c5c;
    --info: #5b9bd5;
    --border: rgba(201, 169, 110, 0.12);
    --border-hover: rgba(201, 169, 110, 0.3);
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-accent: 0 8px 32px rgba(201, 169, 110, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --sidebar-w: 260px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ─── AUTH PAGES ─── */
.auth-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-primary);
}
.auth-brand {
    background: linear-gradient(135deg, #0d0d14 0%, #1a1424 50%, #0d0d14 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.auth-brand::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.brand-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
    margin-bottom: 12px;
    position: relative;
}
.brand-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--bg-secondary);
}
.auth-form-box {
    width: 100%;
    max-width: 440px;
}
.auth-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 0.9rem;
}

/* ─── FORM ELEMENTS ─── */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--accent);
    background: var(--bg-hover);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #b8903a 100%);
    color: #0a0a0f;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); filter: brightness(1.1); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }

/* ─── SIDEBAR LAYOUT ─── */
.app-layout {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: var(--sidebar-w);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
}
.sidebar-logo {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--border);
}
.sidebar-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}
.sidebar-logo .logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}
.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.nav-section-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 12px;
    margin: 20px 0 8px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
    cursor: pointer;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-item.active { background: var(--accent-glow); color: var(--accent); border: 1px solid var(--border-hover); }
.nav-item svg { flex-shrink: 0; opacity: 0.8; }
.nav-item.active svg { opacity: 1; }
.nav-badge {
    margin-left: auto;
    background: var(--accent);
    color: #0a0a0f;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
}
.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border);
}
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-hover);
}
.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #b8903a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: #0a0a0f;
}
.user-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.user-role { font-size: 0.7rem; color: var(--text-muted); }

/* ─── MAIN CONTENT ─── */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-height: 100vh;
    background: var(--bg-primary);
}
.topbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}
.page-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-primary);
}
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.page-body { padding: 32px; }

/* ─── STATS GRID ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: var(--accent-glow);
    border-radius: 0 0 0 80px;
}
.stat-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    border: 1px solid var(--border-hover);
}
.stat-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: 0.8rem; color: var(--text-secondary); letter-spacing: 0.5px; }
.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    margin-top: 8px;
}
.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

/* ─── CARDS ─── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
}
.card-body { padding: 24px; }

/* ─── TABLE ─── */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(201,169,110,0.06);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
tbody tr:hover td { background: var(--bg-hover); color: var(--text-primary); }
tbody tr:last-child td { border-bottom: none; }

/* ─── BADGES ─── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.badge-pending { background: rgba(232,169,74,0.15); color: var(--warning); }
.badge-confirmed { background: rgba(76,175,130,0.15); color: var(--success); }
.badge-in_progress { background: rgba(91,155,213,0.15); color: var(--info); }
.badge-completed { background: rgba(76,175,130,0.1); color: var(--success); }
.badge-cancelled { background: rgba(224,92,92,0.15); color: var(--danger); }
.badge-active { background: rgba(76,175,130,0.15); color: var(--success); }
.badge-inactive { background: rgba(224,92,92,0.15); color: var(--danger); }
.badge-waiting { background: rgba(232,169,74,0.15); color: var(--warning); }
.badge-in_service { background: rgba(91,155,213,0.15); color: var(--info); }

/* ─── TIMELINE ─── */
.timeline { position: relative; }
.timeline-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    border: 2px solid;
}
.timeline-dot.waiting { background: var(--warning); border-color: var(--warning); }
.timeline-dot.in_service { background: var(--info); border-color: var(--info); animation: pulse 1.5s infinite; }
.timeline-dot.done { background: var(--success); border-color: var(--success); }
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}
.timeline-content { flex: 1; }
.timeline-name { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.timeline-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ─── QUEUE CARD ─── */
.queue-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    margin-bottom: 12px;
}
.queue-item:hover { border-color: var(--border-hover); }
.queue-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 48px;
    text-align: center;
}
.queue-info { flex: 1; }
.queue-name { font-weight: 600; color: var(--text-primary); }
.queue-service { font-size: 0.82rem; color: var(--text-secondary); }
.queue-wait {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.queue-wait strong { display: block; font-size: 1.1rem; color: var(--accent); }

/* ─── SALON CARD (User side) ─── */
.salon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.salon-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.salon-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-accent); }
.salon-card-banner {
    height: 212px;
    background: linear-gradient(135deg, #1a1424 0%, #241a2e 50%, #1a2024 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.salon-card-banner svg { opacity: 0.3; }
.salon-card-body { padding: 20px; }
.salon-card-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.salon-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.salon-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}
.distance-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 600;
}
.queue-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 1.5s infinite;
}

/* ─── NOTIFICATION ITEM ─── */
.notif-item {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 14px;
    transition: var(--transition);
}
.notif-item:hover { background: var(--bg-hover); }
.notif-item.unread { border-left: 3px solid var(--accent); }
.notif-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent-glow);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-hover);
}
.notif-content { flex: 1; }
.notif-title { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.notif-msg { font-size: 0.82rem; color: var(--text-secondary); margin-top: 2px; }
.notif-time { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* ─── BOOKING STEPS ─── */
.booking-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 36px;
    justify-content: center;
}
.step {
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}
.step.active .step-num { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.step.done .step-num { border-color: var(--success); background: var(--success); color: white; }
.step-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.step.active .step-label { color: var(--accent); }
.step.done .step-label { color: var(--success); }
.step-line { width: 60px; height: 1px; background: var(--border); margin: 0 4px; }

/* ─── ALERTS ─── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: rgba(76,175,130,0.12); border: 1px solid rgba(76,175,130,0.3); color: var(--success); }
.alert-danger { background: rgba(224,92,92,0.12); border: 1px solid rgba(224,92,92,0.3); color: var(--danger); }
.alert-warning { background: rgba(232,169,74,0.12); border: 1px solid rgba(232,169,74,0.3); color: var(--warning); }
.alert-info { background: rgba(91,155,213,0.12); border: 1px solid rgba(91,155,213,0.3); color: var(--info); }

/* ─── MODAL ─── */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-primary); }
.modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; transition: var(--transition); }
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 24px 28px; }
.modal-footer { padding: 16px 28px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }

/* ─── SEARCH BAR ─── */
.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 20px;
    transition: var(--transition);
}
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.search-bar input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; }
.search-bar input::placeholder { color: var(--text-muted); }

/* ─── USER HEADER (public pages) ─── */
.user-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.user-header .logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}
.user-nav { display: flex; align-items: center; gap: 8px; }
.user-nav a {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}
.user-nav a:hover { color: var(--text-primary); background: var(--bg-hover); }
.user-nav a.active { color: var(--accent); background: var(--accent-glow); }

/* ─── SERVICE CARD ─── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.service-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.service-card:hover, .service-card.selected { border-color: var(--accent); background: var(--accent-glow); }
.service-card .service-name { font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.service-card .service-price { color: var(--accent); font-family: var(--font-display); font-size: 1.2rem; }
.service-card .service-dur { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ─── STYLIST CARD ─── */
.stylist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.stylist-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.stylist-card:hover, .stylist-card.selected { border-color: var(--accent); background: var(--accent-glow); }
.stylist-avatar-lg {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #b8903a);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a0a0f;
    margin: 0 auto 12px;
}
.stylist-name { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.stylist-spec { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }

/* ─── SLOT GRID ─── */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.slot-btn {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
}
.slot-btn:hover, .slot-btn.selected { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.slot-btn.full { opacity: 0.4; cursor: not-allowed; border-color: var(--border); }

/* ─── EMPTY STATE ─── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state svg { opacity: 0.3; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 0.88rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .auth-wrapper { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .page-body { padding: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .user-header { padding: 0 16px; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.4s ease forwards; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ─── MISC ─── */
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-sm { font-size: 0.82rem; }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.w-full { width: 100%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.btn-google {
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
}

.btn-google:hover {
    background: #f5f5f5;
}