/* ================================================================
   ContratosLab — Design System (App)
   Palette et fonts identiques à contratoslab_v3_1_.html
   Fonts: Bricolage Grotesque (display) + Plus Jakarta Sans (body)
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* ── VARIABLES (identiques au template) ── */
:root {
    --white: #FFFFFF;
    --bg: #F8F5F5;
    --bg2: #EEE9E9;
    --bg3: #F2EDEE;
    --ink: #1A1F2E;
    --ink2: #2C3A52;
    --muted: #64748B;
    --light: #94A3B8;
    --bx: #871621;
    --bx2: #9E1B25;
    --bx3: #FBF0F1;
    --bx-mid: #D4979A;
    --border: #E5DFE0;
    --border2: #D6CCCC;
    /* Status */
    --green: #16a34a;
    --green-d: rgba(22,163,74,.1);
    --amber: #b45309;
    --amber-d: rgba(180,83,9,.1);
    --blue: #1d4ed8;
    --blue-d: rgba(29,78,216,.1);
    --purp: #6d28d9;
    --purp-d: rgba(109,40,217,.1);
    /* Layout */
    --nav-h: 90px;
    --sidebar-w: 252px;
    --r: 10px;
    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(26,31,46,.08);
    --shadow-md: 0 4px 18px rgba(26,31,46,.1);
    --shadow-lg: 0 12px 40px rgba(26,31,46,.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   NAV (identique template)
══════════════════════════════════════════════════ */
nav.appnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    backdrop-filter: blur(20px);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

    .logo img {
        height: 66px;
        width: auto;
    }

.nav-links {
    display: flex;
    gap: .25rem;
    list-style: none;
}

    .nav-links a {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: var(--muted);
        text-decoration: none;
        padding: .45rem .9rem;
        border-radius: var(--r);
        transition: color .15s, background .15s;
        white-space: nowrap;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--ink);
            background: var(--bg);
        }

.nav-actions {
    display: flex;
    gap: .7rem;
    align-items: center;
}

/* ── BOUTONS NAV ── */
.btn-outline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
    padding: .45rem 1rem;
    border: 1px solid var(--border2);
    border-radius: 8px;
    text-decoration: none;
    background: var(--white);
    transition: all .15s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

    .btn-outline:hover {
        border-color: #C0B0B0;
        background: var(--bg);
        color: var(--ink);
    }

.btn-solid {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: .45rem 1.3rem;
    border: none;
    border-radius: 8px;
    background: var(--bx);
    text-decoration: none;
    transition: all .18s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

    .btn-solid:hover {
        background: var(--bx2);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(139,26,26,.28);
    }

/* ══════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════ */
.sidebar {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow: hidden;
    transition: width .25s ease;
}

    .sidebar.collapsed {
        width: 60px;
    }

.sidebar-empresa {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.empresa-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 8px 12px;
    color: var(--muted);
    font-size: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .empresa-badge i {
        color: var(--bx);
        font-size: 13px;
        flex-shrink: 0;
    }

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 10px;
    list-style: none;
}

    .sidebar-nav::-webkit-scrollbar {
        width: 3px;
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
        background: var(--border2);
        border-radius: 3px;
    }

.nav-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--light);
    padding: 14px 8px 5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    border-radius: var(--r);
    margin-bottom: 2px;
    transition: all .15s;
    white-space: nowrap;
    border: 1px solid transparent;
}

    .sidebar-nav .nav-link:hover {
        background: var(--bg);
        color: var(--ink);
    }

    .sidebar-nav .nav-link.active {
        background: var(--bx3);
        color: var(--bx);
        border-color: rgba(135,22,33,.15);
    }

        .sidebar-nav .nav-link.active i {
            color: var(--bx);
        }

    .sidebar-nav .nav-link i {
        font-size: 15px;
        flex-shrink: 0;
        width: 18px;
        text-align: center;
    }

.sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.legal-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    color: var(--bx);
    margin-bottom: 10px;
    opacity: .8;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 8px 12px;
    border-radius: var(--r);
    cursor: pointer;
    width: 100%;
    transition: all .15s;
}

    .btn-logout:hover {
        border-color: var(--border2);
        color: var(--ink);
        background: var(--bg);
    }

/* ══════════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════════ */
.main-content {
    margin-top: var(--nav-h);
    margin-left: var(--sidebar-w);
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    flex-direction: column;
    transition: margin-left .25s;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 60px;
}

.page-content {
    padding: 2.5rem 3rem;
    flex: 1;
}

/* ══════════════════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════════════════ */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 12px;
}

    .page-header h1 {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 1.9rem;
        font-weight: 700;
        color: var(--ink);
        letter-spacing: -.03em;
        line-height: 1.15;
    }

        .page-header h1 em {
            font-style: normal;
            color: var(--bx);
        }

    .page-header p {
        font-size: 13px;
        color: var(--muted);
        margin-top: 4px;
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

/* eyebrow (style template) */
.eyebrow {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--bx);
    margin-bottom: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

    .eyebrow::before {
        content: '';
        display: block;
        width: 16px;
        height: 2px;
        background: var(--bx);
        border-radius: 1px;
        flex-shrink: 0;
    }

/* ══════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════ */
.card-cl {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-sm);
}

    .card-cl .card-header-cl {
        padding: 1rem 1.4rem;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: 'Bricolage Grotesque', sans-serif;
        font-weight: 600;
        color: var(--ink);
        font-size: 1.05rem;
        letter-spacing: -.01em;
    }

    .card-cl .card-body-cl {
        padding: 1.4rem;
    }

/* ── STAT CARDS ── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow .2s, border-color .2s;
    box-shadow: var(--shadow-sm);
}

    .stat-card:hover {
        box-shadow: var(--shadow-md);
        border-color: var(--border2);
    }

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

    .stat-icon.red {
        background: var(--bx3);
        color: var(--bx);
    }

    .stat-icon.blue {
        background: var(--blue-d);
        color: var(--blue);
    }

    .stat-icon.green {
        background: var(--green-d);
        color: var(--green);
    }

    .stat-icon.amber {
        background: var(--amber-d);
        color: var(--amber);
    }

    .stat-icon.purple {
        background: var(--purp-d);
        color: var(--purp);
    }

.stat-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    color: var(--light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.stat-value {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    margin-top: 2px;
    letter-spacing: -.03em;
}

/* ══════════════════════════════════════════════════
   TABLES
══════════════════════════════════════════════════ */
.table-cl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .table-cl thead th {
        background: var(--bg);
        padding: .65rem 1rem;
        color: var(--light);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .1em;
        border-bottom: 1px solid var(--border2);
        text-align: left;
    }

    .table-cl tbody td {
        padding: .85rem 1rem;
        border-bottom: 1px solid var(--border);
        color: var(--muted);
        vertical-align: middle;
    }

    .table-cl tbody tr:hover td {
        background: var(--bg);
        color: var(--ink);
    }

    .table-cl tbody tr:last-child td {
        border-bottom: none;
    }

/* ══════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════ */
.badge-cl {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
}

.badge-borrador {
    background: var(--bg2);
    color: var(--muted);
}

.badge-pendiente {
    background: var(--amber-d);
    color: var(--amber);
}

.badge-firmado {
    background: var(--green-d);
    color: var(--green);
}

.badge-anulado {
    background: rgba(220,38,38,.1);
    color: #dc2626;
}

.badge-indefinido {
    background: var(--blue-d);
    color: var(--blue);
}

.badge-plazo-fijo {
    background: var(--amber-d);
    color: var(--amber);
}

.badge-obra {
    background: var(--purp-d);
    color: var(--purp);
}

/* ══════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════ */
.form-cl .form-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink2);
    margin-bottom: .4rem;
    display: block;
}

.form-cl .form-control,
.form-cl .form-select {
    background: var(--white);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: .65rem 1rem;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ink);
    width: 100%;
    transition: border-color .15s, box-shadow .15s;
}

    .form-cl .form-control::placeholder {
        color: var(--light);
    }

    .form-cl .form-control:focus,
    .form-cl .form-select:focus {
        border-color: var(--bx);
        outline: none;
        box-shadow: 0 0 0 3px rgba(135,22,33,.12);
    }

.form-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.form-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--bx);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .form-section-title::before {
        content: '';
        display: block;
        width: 16px;
        height: 2px;
        background: var(--bx);
        flex-shrink: 0;
        border-radius: 1px;
    }

/* ══════════════════════════════════════════════════
   BUTTONS APP
══════════════════════════════════════════════════ */
.btn-primary-cl {
    background: var(--bx);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .6rem 1.4rem;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .18s;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-primary-cl:hover {
        background: var(--bx2);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(139,26,26,.28);
    }

.btn-secondary-cl {
    background: var(--white);
    color: var(--ink2);
    border: 1px solid var(--border2);
    border-radius: 8px;
    padding: .55rem 1.2rem;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all .15s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-secondary-cl:hover {
        border-color: #C0B0B0;
        color: var(--ink);
        background: var(--bg);
    }

.btn-danger-cl {
    background: rgba(220,38,38,.08);
    color: #dc2626;
    border: 1px solid rgba(220,38,38,.2);
    border-radius: 8px;
    padding: .55rem 1.2rem;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all .15s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-danger-cl:hover {
        background: #dc2626;
        color: #fff;
        border-color: #dc2626;
    }

.btn-success-cl {
    background: var(--green-d);
    color: var(--green);
    border: 1px solid rgba(22,163,74,.2);
    border-radius: 8px;
    padding: .6rem 1.4rem;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all .15s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-success-cl:hover {
        background: var(--green);
        color: #fff;
    }

/* ══════════════════════════════════════════════════
   FINIQUITO RESUMEN
══════════════════════════════════════════════════ */
.finiquito-resumen {
    background: var(--bg);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: 1.75rem;
}

    .finiquito-resumen .concepto {
        font-size: 11px;
        color: var(--light);
        font-family: 'Plus Jakarta Sans', sans-serif;
        text-transform: uppercase;
        letter-spacing: .08em;
        font-weight: 600;
    }

    .finiquito-resumen .monto {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--ink);
        letter-spacing: -.02em;
    }

.finiquito-total {
    border-top: 1px solid var(--border2);
    margin-top: 1rem;
    padding-top: 1rem;
}

    .finiquito-total .monto {
        font-size: 2.2rem;
        color: var(--bx);
    }

/* ══════════════════════════════════════════════════
   ALERTS / TOASTS
══════════════════════════════════════════════════ */
.alert-toast {
    position: fixed;
    top: calc(var(--nav-h) + 14px);
    right: 24px;
    padding: .85rem 1.2rem;
    border-radius: var(--r);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    max-width: 380px;
    animation: slideIn .3s ease;
    transition: opacity .6s;
    background: var(--white);
}

    .alert-toast.success {
        color: var(--green);
        border: 1px solid rgba(22,163,74,.25);
    }

    .alert-toast.info {
        color: var(--blue);
        border: 1px solid rgba(29,78,216,.2);
    }

    .alert-toast.danger {
        color: var(--bx);
        border: 1px solid rgba(135,22,33,.25);
    }

    .alert-toast.fade-out {
        opacity: 0;
    }

@keyframes slideIn {
    from {
        transform: translateX(110%);
        opacity: 0;
    }

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

/* ══════════════════════════════════════════════════
   VENCIMIENTO
══════════════════════════════════════════════════ */
.vence-pronto {
    background: var(--amber-d);
    color: var(--amber);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.vence-hoy {
    background: var(--bx3);
    color: var(--bx);
}

/* ══════════════════════════════════════════════════
   AUTH PAGE (Login) — reprend le style du template
══════════════════════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    display: flex;
    background: var(--white);
}

.auth-panel {
    width: 480px;
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 52px;
}

.auth-logo {
    margin-bottom: 48px;
}

    .auth-logo img {
        height: 69px;
        width: auto;
    }

.auth-hero {
    flex: 1;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

    .auth-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 700px 600px at 55% 50%, rgba(135,22,33,.06) 0%, transparent 70%);
    }

/* ══════════════════════════════════════════════════
   SEARCH BAR
══════════════════════════════════════════════════ */
.search-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: .25rem .25rem .25rem .9rem;
    max-width: 340px;
    transition: border-color .15s;
}

    .search-bar:focus-within {
        border-color: var(--bx);
        box-shadow: 0 0 0 3px rgba(135,22,33,.1);
    }

    .search-bar input {
        border: none;
        outline: none;
        font-size: 13px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        flex: 1;
        background: transparent;
        color: var(--ink);
    }

        .search-bar input::placeholder {
            color: var(--light);
        }

    .search-bar button {
        background: var(--bx);
        color: #fff;
        border: none;
        border-radius: 6px;
        padding: .4rem .9rem;
        font-size: 12px;
        cursor: pointer;
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 600;
        transition: background .15s;
    }

        .search-bar button:hover {
            background: var(--bx2);
        }

/* ══════════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--light);
}

    .empty-state i {
        font-size: 3rem;
        margin-bottom: 1rem;
        display: block;
        opacity: .35;
    }

    .empty-state h3 {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--muted);
        margin-bottom: .5rem;
        letter-spacing: -.02em;
    }

    .empty-state p {
        font-size: 13px;
        margin-bottom: 1.5rem;
        color: var(--light);
    }

/* ══════════════════════════════════════════════════
   BOOTSTRAP OVERRIDES
══════════════════════════════════════════════════ */
.form-control, .form-select {
    background-color: var(--white) !important;
    border-color: var(--border2) !important;
    color: var(--ink) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    border-radius: var(--r) !important;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--bx) !important;
        box-shadow: 0 0 0 3px rgba(135,22,33,.12) !important;
    }

    .form-control::placeholder {
        color: var(--light) !important;
    }

.table {
    color: var(--muted) !important;
}

    .table > :not(caption) > * > * {
        background-color: transparent !important;
        border-color: var(--border) !important;
    }

.modal-content {
    background: var(--white) !important;
    border: 1px solid var(--border2) !important;
    color: var(--ink) !important;
    border-radius: var(--r) !important;
}

.modal-header, .modal-footer {
    border-color: var(--border) !important;
}

.modal-title {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700 !important;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
    nav.appnav {
        padding: 0 1.25rem;
    }

    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.open {
            transform: translateX(0);
            box-shadow: var(--shadow-lg);
        }

    .main-content {
        margin-left: 0 !important;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .auth-hero {
        display: none;
    }

    .auth-panel {
        width: 100%;
        padding: 32px 24px;
    }

    .page-content {
        padding: 1.25rem;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
