/* Shakti Travels — Dashboard & Landing Design System */

:root {
    --travel-navy: #0c3d5a;
    --travel-teal: #0f766e;
    --travel-teal-light: #14b8a6;
    --travel-saffron: #f59e0b;
    --travel-saffron-dark: #d97706;
    --travel-sky: #0ea5e9;
    --travel-cream: #fffbeb;
    --travel-sand: #fef3c7;

    --sidebar-width: 12.5rem;
    --sidebar-collapsed: 4rem;
    --topbar-height: 52px;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(12, 61, 90, 0.06);
    --shadow-md: 0 8px 30px rgba(12, 61, 90, 0.08);
    --shadow-lg: 0 20px 50px rgba(12, 61, 90, 0.12);
    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ─── Landing layout ─── */
.landing-body {
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(14, 165, 233, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 90% 0%, rgba(245, 158, 11, 0.1), transparent),
        linear-gradient(180deg, #f0f9ff 0%, #f8fafc 40%, #fff 100%);
    color: #0f172a;
    min-height: 100vh;
}

.landing-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(12, 61, 90, 0.08);
}

.landing-nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0.85rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

.brand {
    display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.05rem; color: var(--travel-navy);
}

.brand-icon {
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, var(--travel-saffron), var(--travel-saffron-dark));
    display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.landing-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.landing-links a { color: #64748b; font-weight: 500; font-size: 0.95rem; transition: color var(--transition); }
.landing-links a:hover { color: var(--travel-navy); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.65rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
    border: none; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--travel-saffron), var(--travel-saffron-dark));
    color: #fff; box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}
.btn-outline {
    background: #fff; color: var(--travel-navy); border: 1.5px solid rgba(12, 61, 90, 0.15);
}
.btn-outline:hover { border-color: var(--travel-teal); color: var(--travel-teal); }

.landing-main { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

.hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
    padding: 2rem 0 3rem;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.85rem; border-radius: 999px;
    background: rgba(15, 118, 110, 0.1); color: var(--travel-teal);
    font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.12; letter-spacing: -0.03em;
    color: var(--travel-navy); font-weight: 700;
}

.hero-lead { color: #64748b; font-size: 1.05rem; margin: 1rem 0 1.75rem; max-width: 52ch; }

.hero-card {
    background: #fff; border-radius: var(--radius-lg); padding: 1.5rem;
    border: 1px solid rgba(12, 61, 90, 0.06); box-shadow: var(--shadow-lg);
}

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 500px) { .stat-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
    background: linear-gradient(145deg, #fff, #f8fafc);
    border: 1px solid rgba(12, 61, 90, 0.06); border-radius: var(--radius);
    padding: 1.1rem 1.25rem; transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-label { color: #64748b; font-size: 0.82rem; font-weight: 500; }
.stat-value { font-size: 1.65rem; font-weight: 700; color: var(--travel-navy); margin-top: 0.2rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
    background: #fff; border-radius: var(--radius); padding: 1.5rem;
    border: 1px solid rgba(12, 61, 90, 0.06); transition: all var(--transition);
}
.feature-card:hover {
    border-color: rgba(15, 118, 110, 0.25);
    box-shadow: var(--shadow-md); transform: translateY(-3px);
}
.feature-icon {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    font-size: 1.25rem; margin-bottom: 1rem;
}
.feature-card h3 { color: var(--travel-navy); font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-card p { color: #64748b; font-size: 0.9rem; }

.landing-footer {
    border-top: 1px solid rgba(12, 61, 90, 0.08); padding: 2rem 1.5rem;
    color: #64748b; font-size: 0.88rem; text-align: center;
}

/* ─── Dashboard shell ─── */
.dashboard-body {
    background: #f1f5f9;
    color: #1e293b;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-shell { display: flex; min-height: 100vh; }

/* ─── Admin shell (topbar + dashboard) ─── */
:root {
    --shell-bg: #f1f5f9;
    --shell-surface: #ffffff;
    --shell-surface-muted: #f8fafc;
    --shell-border: rgba(12, 61, 90, 0.08);
    --shell-text: #0c3d5a;
    --shell-text-muted: #64748b;
    --shell-text-faint: #94a3b8;
}

html.dark {
    --shell-bg: #0b1220;
    --shell-surface: #1e293b;
    --shell-surface-muted: #162032;
    --shell-border: rgba(255, 255, 255, 0.08);
    --shell-text: #f1f5f9;
    --shell-text-muted: #94a3b8;
    --shell-text-faint: #64748b;
}

.topbar {
    position: sticky; top: 0; z-index: 100;
    min-height: var(--topbar-height);
    background: color-mix(in srgb, var(--shell-surface) 94%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--shell-border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1.5rem; gap: 1.5rem;
}
.topbar-minimal { justify-content: space-between; }
.topbar-spacer { flex: 1; min-width: 0; }

.company-switcher {
    display: flex; align-items: center; gap: 0.5rem;
    margin-right: auto; min-width: 0;
}
.company-switcher-single {
    display: flex; align-items: center; gap: 0.5rem;
    margin-right: auto; font-size: 0.85rem; color: var(--shell-text-muted);
}
.company-switcher-label {
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--shell-text-muted); white-space: nowrap;
}
.company-switcher-select {
    min-width: 10rem; max-width: 16rem;
    padding: 0.35rem 0.65rem; border-radius: 8px;
    border: 1px solid var(--shell-border);
    background: var(--shell-surface); color: var(--shell-text);
    font-size: 0.82rem;
}

.topbar-left { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-btn {
    display: none; width: 40px; height: 40px; border-radius: 10px;
    background: var(--shell-surface-muted); border: none; cursor: pointer; color: var(--shell-text);
}
.topbar-title { font-size: 1.05rem; font-weight: 700; color: var(--shell-text); line-height: 1.2; }
.topbar-subtitle { font-size: 0.75rem; color: var(--shell-text-muted); margin-top: 0.1rem; }

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.78rem; }

.dashboard-content { padding: 1.35rem 1.25rem 1.5rem; margin-top: 0.25rem; }
.fi-panel-admin .dashboard-content { padding-top: 1.35rem; }
.fi-panel-admin .dashboard-content .shakti-dashboard { margin-top: 0.15rem; }

/* ─── Shakti Dashboard ─── */
.shakti-dashboard { display: flex; flex-direction: column; gap: 1rem; }

.dash-hero {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
    padding: 1.35rem 1.5rem; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--travel-navy) 0%, var(--travel-teal) 100%);
    color: #fff; position: relative; overflow: hidden;
    box-shadow: 0 16px 48px rgba(12, 61, 90, 0.22);
}
.dash-hero-content {
    position: relative; z-index: 1; flex: 1; min-width: 14rem;
    max-width: calc(100% - 9rem);
}
.dash-hero::before {
    content: ''; position: absolute; right: -2rem; top: -3rem;
    width: 14rem; height: 14rem; border-radius: 50%;
    background: rgba(245, 158, 11, 0.14);
}
.dash-hero::after {
    content: ''; position: absolute; left: 55%; bottom: -4rem;
    width: 10rem; height: 10rem; border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.dash-hero-eyebrow {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase; opacity: 0.75; margin-bottom: 0.35rem;
}
.dash-hero-title {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem); font-weight: 700; line-height: 1.2;
}
.dash-hero-lead { margin-top: 0.4rem; font-size: 0.88rem; opacity: 0.88; max-width: 42ch; }

html.dark .dash-hero,
html.dark .page-hero {
    background: linear-gradient(135deg, #0a1520 0%, #0c2a28 55%, #0f3d38 100%);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
html.dark .dash-hero::before { background: rgba(245, 158, 11, 0.1); }
html.dark .dash-hero::after { background: rgba(255, 255, 255, 0.04); }

.page-hero { margin-bottom: 0; }
.page-hero-actions-slot { display: none; }

/* Compact hero — resource & form pages (not main dashboard view) */
.page-hero--compact {
    display: flex;
    align-items: center;
    padding: 1rem 11.5rem 1rem 1.25rem;
    min-height: 3.75rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(12, 61, 90, 0.14);
}
.page-hero--compact::before {
    width: 8rem; height: 8rem; right: -1.5rem; top: -2rem;
}
.page-hero--compact::after {
    width: 6rem; height: 6rem; left: 60%; bottom: -2.5rem;
}
.page-hero--compact .dash-hero-content {
    max-width: 100%;
    min-width: 0;
}
.page-hero--compact .dash-hero-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}
html.dark .page-hero--compact {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.shakti-page-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.dash-hero-stats {
    position: relative; z-index: 1;
    display: flex; gap: 0.65rem; flex-wrap: wrap; align-items: stretch;
}
.dash-hero-stat {
    min-width: 6.5rem; padding: 0.75rem 1rem; border-radius: 12px;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}
.dash-hero-stat-value { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.dash-hero-stat-label { display: block; margin-top: 0.2rem; font-size: 0.7rem; opacity: 0.8; }

.dash-actions {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem;
}
@media (max-width: 800px) { .dash-actions { grid-template-columns: repeat(2, 1fr); } }

.dash-action {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem; border-radius: 12px;
    background: var(--shell-surface); border: 1px solid var(--shell-border);
    box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.dash-action:hover {
    transform: translateY(-2px); box-shadow: var(--shadow-md);
    border-color: rgba(15, 118, 110, 0.25);
}
.dash-action-icon {
    width: 2.25rem; height: 2.25rem; border-radius: 10px;
    display: grid; place-items: center; flex-shrink: 0;
}
.dash-action-icon svg { width: 1.15rem; height: 1.15rem; }
.dash-action-icon--teal { background: rgba(15, 118, 110, 0.12); color: var(--travel-teal); }
.dash-action-icon--saffron { background: rgba(245, 158, 11, 0.14); color: var(--travel-saffron-dark); }
.dash-action-icon--sky { background: rgba(14, 165, 233, 0.12); color: var(--travel-sky); }
.dash-action-icon--rose { background: rgba(244, 63, 94, 0.1); color: #e11d48; }
.dash-action-text { font-size: 0.82rem; font-weight: 600; color: var(--shell-text); }

.dash-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
@media (max-width: 1100px) { .dash-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dash-kpis { grid-template-columns: 1fr; } }

.dash-kpi {
    display: flex; gap: 0.85rem; align-items: flex-start;
    padding: 1rem; border-radius: 14px;
    background: var(--shell-surface); border: 1px solid var(--shell-border);
    box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.dash-kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dash-kpi-icon {
    width: 2.5rem; height: 2.5rem; border-radius: 11px;
    display: grid; place-items: center; flex-shrink: 0;
}
.dash-kpi-icon svg { width: 1.2rem; height: 1.2rem; }
.dash-kpi--teal .dash-kpi-icon { background: rgba(15, 118, 110, 0.12); color: var(--travel-teal); }
.dash-kpi--saffron .dash-kpi-icon { background: rgba(245, 158, 11, 0.14); color: var(--travel-saffron-dark); }
.dash-kpi--sky .dash-kpi-icon { background: rgba(14, 165, 233, 0.12); color: var(--travel-sky); }
.dash-kpi--rose .dash-kpi-icon { background: rgba(244, 63, 94, 0.1); color: #e11d48; }
.dash-kpi-label { font-size: 0.72rem; font-weight: 600; color: var(--shell-text-muted); }
.dash-kpi-value {
    margin-top: 0.15rem; font-size: 1.45rem; font-weight: 800;
    color: var(--shell-text); line-height: 1.15;
}
.dash-kpi-sub { margin-top: 0.15rem; font-size: 0.7rem; color: var(--shell-text-faint); }

.dash-panels {
    display: grid; grid-template-columns: 1fr !important; gap: 0.85rem;
}
@media (max-width: 1000px) { .dash-panels { grid-template-columns: 1fr; } }

.dash-panel {
    background: var(--shell-surface); border: 1px solid var(--shell-border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.dash-panel-header {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
    padding: 1rem 1.1rem; border-bottom: 1px solid var(--shell-border);
    background: var(--shell-surface-muted);
}
.dash-panel-title { font-size: 0.92rem; font-weight: 700; color: var(--shell-text); }
.dash-panel-desc { margin-top: 0.15rem; font-size: 0.72rem; color: var(--shell-text-muted); }
.dash-panel-link {
    font-size: 0.78rem; font-weight: 600; color: var(--travel-teal);
    white-space: nowrap; padding-top: 0.15rem;
}
.dash-panel-link:hover { color: var(--travel-teal-light); }

.dash-table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th {
    text-align: left; padding: 0.65rem 1rem; font-size: 0.66rem;
    font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--shell-text-muted); background: var(--shell-surface-muted);
    border-bottom: 1px solid var(--shell-border);
}
.dash-table td {
    padding: 0.75rem 1rem; font-size: 0.84rem; color: var(--shell-text);
    border-bottom: 1px solid var(--shell-border);
}
.dash-table tbody tr:hover td { background: var(--shell-surface-muted); }
.dash-table tbody tr:last-child td { border-bottom: none; }
.dash-muted { color: var(--shell-text-muted) !important; font-size: 0.8rem !important; }
.dash-empty { text-align: center; color: var(--shell-text-faint) !important; padding: 2rem 1rem !important; }

.dash-badge {
    display: inline-flex; padding: 0.2rem 0.6rem; border-radius: 999px;
    font-size: 0.7rem; font-weight: 600;
}
.dash-badge--success { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.dash-badge--info { background: rgba(14, 165, 233, 0.14); color: #0369a1; }
.dash-badge--warning { background: rgba(245, 158, 11, 0.16); color: #b45309; }
.dash-badge--muted { background: rgba(100, 116, 139, 0.14); color: #64748b; }
html.dark .dash-badge--success { color: #86efac; }
html.dark .dash-badge--info { color: #7dd3fc; }
html.dark .dash-badge--warning { color: #fcd34d; }
html.dark .dash-badge--muted { color: #cbd5e1; }

.topbar-actions { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; position: relative; flex-shrink: 0; }

.user-menu-trigger {
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.35rem 0.5rem 0.35rem 0.35rem;
    border: 1px solid var(--shell-border);
    border-radius: 999px; background: var(--shell-surface);
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.user-menu-trigger:hover {
    border-color: rgba(15, 118, 110, 0.25);
    box-shadow: var(--shadow-md);
}
.user-menu-name {
    font-size: 0.82rem; font-weight: 600; color: var(--shell-text);
    max-width: 10rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-menu-chevron {
    color: #94a3b8; transition: transform 0.2s ease; flex-shrink: 0;
}
.user-menu-chevron.is-open { transform: rotate(180deg); }

.user-menu-panel {
    position: absolute; top: calc(100% + 0.5rem); right: 0;
    min-width: 16.5rem; background: var(--shell-surface);
    border: 1px solid var(--shell-border);
    border-radius: 14px; box-shadow: var(--shadow-lg);
    overflow: hidden; z-index: 200;
}
.user-menu-header {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem; background: var(--shell-surface-muted);
    border-bottom: 1px solid var(--shell-border);
}
.user-menu-meta {
    display: flex; flex-direction: column; gap: 0.15rem; min-width: 0;
}
.user-menu-meta strong {
    font-size: 0.88rem; color: var(--shell-text); font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-menu-meta span {
    font-size: 0.75rem; color: var(--shell-text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-role-badge {
    display: inline-flex; align-self: flex-start;
    margin-top: 0.2rem; padding: 0.15rem 0.5rem;
    border-radius: 999px; font-size: 0.68rem !important; font-weight: 600;
    background: rgba(245, 158, 11, 0.15); color: #b45309 !important;
}
.user-menu-links { padding: 0.35rem; }
.user-menu-link {
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.55rem 0.65rem; border-radius: 8px;
    font-size: 0.82rem; font-weight: 500; color: var(--shell-text);
    transition: background 0.15s ease;
}
.user-menu-link:hover { background: var(--shell-surface-muted); }
.user-menu-link svg { color: var(--shell-text-muted); flex-shrink: 0; }
.user-menu-theme {
    padding: 0.65rem 0.75rem; border-top: 1px solid var(--shell-border);
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.user-menu-theme-label {
    font-size: 0.72rem; font-weight: 600; color: var(--shell-text-muted);
    text-transform: uppercase; letter-spacing: 0.04em;
}
.user-menu-theme .fi-theme-switcher {
    display: flex; gap: 0.25rem; padding: 0.2rem;
    background: var(--shell-surface-muted); border-radius: 10px;
    border: 1px solid var(--shell-border);
}
.user-menu-footer {
    padding: 0.35rem; border-top: 1px solid var(--shell-border);
}
.user-menu-logout {
    display: flex; align-items: center; gap: 0.55rem; width: 100%;
    padding: 0.55rem 0.65rem; border: none; border-radius: 8px;
    background: transparent; font-size: 0.82rem; font-weight: 600;
    color: #dc2626; cursor: pointer; transition: background 0.15s ease;
}
.user-menu-logout:hover { background: #fef2f2; }

.avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--travel-teal), var(--travel-sky));
    color: #fff; font-weight: 700; font-size: 0.72rem;
    display: grid; place-items: center; flex-shrink: 0;
}
.avatar.avatar-lg { width: 40px; height: 40px; font-size: 0.82rem; }

/* ─── Login page ─── */
.login-page {
    min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) { .login-page { grid-template-columns: 1fr; } }

.login-brand {
    background: linear-gradient(165deg, var(--travel-navy) 0%, #0a5c56 50%, var(--travel-teal) 100%);
    color: #fff; display: flex; align-items: center; justify-content: center;
    padding: 2rem;
}
@media (max-width: 900px) { .login-brand { padding: 2rem 1.5rem; min-height: 40vh; } }

.login-brand-inner { max-width: 400px; }
.login-brand h1 { font-size: 1.65rem; font-weight: 700; margin: 1.25rem 0 0.75rem; line-height: 1.2; }
.login-brand p { color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.login-features { list-style: none; margin-top: 1.5rem; }
.login-features li {
    padding: 0.4rem 0 0.4rem 1.25rem; position: relative;
    font-size: 0.88rem; color: rgba(255,255,255,0.85);
}
.login-features li::before { content: '✓'; position: absolute; left: 0; color: var(--travel-saffron); font-weight: 700; }

.login-form-side {
    background: #f1f5f9; display: flex; align-items: center; justify-content: center;
    padding: 2rem 1.5rem;
}
.login-card {
    width: min(100%, 380px); background: #fff; border-radius: var(--radius-lg);
    padding: 1.75rem; box-shadow: var(--shadow-lg);
    border: 1px solid rgba(12, 61, 90, 0.06);
}
.login-card h2 { font-size: 1.35rem; color: var(--travel-navy); font-weight: 700; }
.login-sub { color: #64748b; font-size: 0.88rem; margin: 0.35rem 0 1.25rem; }
.login-error {
    background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
    border-radius: 8px; padding: 0.6rem 0.85rem; font-size: 0.85rem; margin-bottom: 1rem;
}
.login-form { display: flex; flex-direction: column; gap: 0.85rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field span { font-size: 0.8rem; font-weight: 600; color: #475569; }
.field input {
    padding: 0.6rem 0.85rem; border-radius: 9px; border: 1.5px solid #e2e8f0;
    font-size: 0.9rem; font-family: inherit; transition: border-color var(--transition);
}
.field input:focus { outline: none; border-color: var(--travel-teal); box-shadow: 0 0 0 3px rgba(15,118,110,0.12); }
.remember-row { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: #64748b; }
.login-btn { width: 100%; margin-top: 0.25rem; padding: 0.7rem; }
.login-foot { margin-top: 1.25rem; font-size: 0.78rem; color: #94a3b8; text-align: center; }
.login-foot a { color: var(--travel-teal); font-weight: 600; }

/* Mobile sidebar overlay — legacy, kept for landing if needed */
.sidebar-overlay {
    display: none; position: fixed; inset: 0; background: rgba(12, 61, 90, 0.5);
    z-index: 150; opacity: 0; transition: opacity var(--transition);
}
.sidebar-overlay.visible { display: block; opacity: 1; }

@media (max-width: 900px) {
    #platform .hero-card { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
    .dashboard-content { padding: 0.75rem; }
    .dash-hero { padding: 1.1rem; }
    .dash-hero-content { max-width: 100%; }
    .page-hero--compact {
        padding: 0.65rem 1rem 3rem;
    }
    .topbar { padding: 0 0.75rem; }
}
