/* ============================================================
   ELEC-OFFRE — Stylesheet Principal
   Couleurs: Blanc & Bleu foncé
   ============================================================ */

:root {
    --blue-950: #0a1628;
    --blue-900: #0f2040;
    --blue-800: #1e3a5f;
    --blue-700: #1e40af;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --blue-50:  #eff6ff;

    --white:    #ffffff;
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --success:  #10b981;
    --warning:  #f59e0b;
    --danger:   #ef4444;
    --info:     #0ea5e9;

    --sidebar-width: 260px;
    --topbar-height: 64px;

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:  0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.08);
    --shadow-xl:  0 20px 40px rgba(0,0,0,.12);

    --font-sans:  'Inter', system-ui, sans-serif;
    --font-head:  'Space Grotesk', system-ui, sans-serif;
}

/* ============================================================ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--gray-50);
    color: var(--gray-800);
    min-height: 100vh;
    display: flex;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================ LOGIN PAGE */
.login-page {
    min-height: 100vh;
    display: flex;
    background: var(--blue-950);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(14,165,233,.1) 0%, transparent 50%);
}

.login-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.login-brand::before {
    content: '⚡';
    position: absolute;
    font-size: 400px;
    opacity: .03;
    right: -60px;
    bottom: -80px;
    pointer-events: none;
}

.login-brand-logo {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
}

.login-brand-logo span.icon {
    width: 44px;
    height: 44px;
    background: var(--blue-600);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.login-brand h1 {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.login-brand p {
    font-size: 1.05rem;
    color: var(--blue-400);
    max-width: 400px;
    line-height: 1.7;
}

.login-form-area {
    width: 480px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px;
}

.login-form-area h2 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.login-form-area p.subtitle {
    color: var(--gray-500);
    margin-bottom: 40px;
    font-size: .95rem;
}

/* ============================================================ SIDEBAR */
.sidebar {
    width: var(--sidebar-width);
    background: var(--blue-900);
    background-image: linear-gradient(180deg, var(--blue-950) 0%, var(--blue-900) 100%);
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .3s ease;
    z-index: 100;
}

.sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--blue-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.logo-img { height: 36px; object-fit: contain; }

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.nav-section { margin-bottom: 8px; }

.nav-section-title {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    padding: 12px 20px 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    border-radius: 0;
    transition: all .15s ease;
    position: relative;
}

.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-item:hover {
    color: var(--white);
    background: rgba(255,255,255,.06);
}

.nav-item.active {
    color: var(--white);
    background: rgba(37,99,235,.3);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 3px;
    background: var(--blue-400);
    border-radius: 0 2px 2px 0;
}

.nav-item-cta {
    margin: 4px 12px;
    padding: 10px 16px;
    background: var(--blue-600);
    border-radius: var(--radius);
    color: var(--white) !important;
    font-weight: 600;
}

.nav-item-cta:hover { background: var(--blue-500) !important; }
.nav-item-cta.active { background: var(--blue-500) !important; }
.nav-item-cta.active::before { display: none; }

.sidebar-user {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 34px;
    height: 34px;
    background: var(--blue-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.user-info { flex: 1; overflow: hidden; }
.user-name {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-role { font-size: .7rem; color: rgba(255,255,255,.4); }

.btn-logout {
    color: rgba(255,255,255,.4);
    display: flex;
    align-items: center;
    transition: color .15s;
}
.btn-logout:hover { color: var(--danger); }
.btn-logout svg { width: 17px; height: 17px; }

/* ============================================================ MAIN CONTENT */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: var(--topbar-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--gray-600);
}

.page-title {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    flex: 1;
}

.topbar-actions { display: flex; gap: 10px; align-items: center; }

.content-wrapper { padding: 28px 32px; flex: 1; }

/* ============================================================ CARDS */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }

/* ============================================================ STATS CARDS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: box-shadow .2s ease, transform .2s ease;
}

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

.stat-icon {
    width: 46px; height: 46px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg { width: 22px; height: 22px; }
.stat-icon.blue { background: var(--blue-50); color: var(--blue-600); }
.stat-icon.green { background: #ecfdf5; color: var(--success); }
.stat-icon.orange { background: #fffbeb; color: var(--warning); }
.stat-icon.indigo { background: #eef2ff; color: #6366f1; }

.stat-info { flex: 1; }
.stat-value {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label { font-size: .8rem; color: var(--gray-500); font-weight: 500; }

/* ============================================================ BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .15s ease;
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.btn svg { width: 16px; height: 16px; }

.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }

.btn-secondary { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-200); }

.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #059669; }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #dc2626; }

.btn-warning { background: var(--warning); color: var(--white); }
.btn-warning:hover { background: #d97706; }

.btn-outline { background: transparent; color: var(--blue-600); border: 1.5px solid var(--blue-300); }
.btn-outline:hover { background: var(--blue-50); }

.btn-ghost { background: transparent; color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-100); }

.btn-sm { padding: 5px 11px; font-size: .8rem; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-lg { padding: 11px 22px; font-size: 1rem; }

.btn-icon { padding: 7px; border-radius: var(--radius-sm); }
.btn-icon svg { width: 17px; height: 17px; }

/* ============================================================ FORMS */
.form-group { margin-bottom: 18px; }

label, .form-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.form-control, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], textarea, select {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .875rem;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}

.form-control:focus, input[type="text"]:focus, input[type="email"]:focus,
input[type="password"]:focus, input[type="number"]:focus, textarea:focus, select:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

textarea { resize: vertical; min-height: 80px; }
select { cursor: pointer; }

.form-hint { font-size: .75rem; color: var(--gray-400); margin-top: 5px; }
.form-error { font-size: .75rem; color: var(--danger); margin-top: 5px; }

.form-row { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================ TABLE */
.table-container { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

thead tr { background: var(--gray-50); }
thead th {
    padding: 11px 16px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gray-500);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background .1s;
}
tbody tr:hover { background: var(--blue-50); }
tbody tr:last-child { border-bottom: none; }

tbody td {
    padding: 12px 16px;
    font-size: .875rem;
    color: var(--gray-700);
}

.td-actions { display: flex; gap: 6px; align-items: center; }
.td-mono { font-family: 'Courier New', monospace; font-size: .82rem; }
.td-bold { font-weight: 600; color: var(--gray-900); }
.td-price { font-family: var(--font-head); font-weight: 600; color: var(--gray-900); }

/* ============================================================ BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.badge-blue    { background: var(--blue-50);  color: var(--blue-700); }
.badge-green   { background: #ecfdf5; color: #065f46; }
.badge-orange  { background: #fffbeb; color: #92400e; }
.badge-red     { background: #fef2f2; color: #991b1b; }
.badge-gray    { background: var(--gray-100); color: var(--gray-600); }
.badge-indigo  { background: #eef2ff; color: #3730a3; }

/* ============================================================ FLASH MESSAGES */
.flash {
    margin: 0 32px 20px;
    padding: 13px 18px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .875rem;
    font-weight: 500;
    animation: slideDown .3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.flash-info    { background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); }

.flash button { background: none; border: none; cursor: pointer; opacity: .5; font-size: 1rem; }
.flash button:hover { opacity: 1; }

/* ============================================================ CHANTIER TYPE CARDS */
.chantier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.chantier-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    display: block;
}

.chantier-card:hover {
    border-color: var(--blue-400);
    background: var(--blue-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.chantier-card.selected {
    border-color: var(--blue-600);
    background: var(--blue-50);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.chantier-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chantier-card-name {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.chantier-card-desc { font-size: .75rem; color: var(--gray-500); }

/* ============================================================ OFFRE LIGNES */
.lignes-table thead th:last-child { text-align: right; }
.lignes-table tbody td:last-child { text-align: right; }
.lignes-table input[type="number"] { width: 90px; text-align: center; }

.ligne-total {
    background: var(--gray-50);
    font-weight: 700;
}

.offre-totaux {
    background: var(--blue-800);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}

.totaux-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: .9rem;
}

.totaux-row.total-ht { border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; margin-top: 6px; }
.totaux-row.total-ttc {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    padding-top: 8px;
}

.totaux-label { opacity: .7; }
.totaux-value { font-weight: 600; }

/* ============================================================ STEPS / WIZARD */
.wizard-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    position: relative;
}

.wizard-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(50% + 20px);
    right: -10px;
    top: 50%;
    height: 2px;
    background: var(--gray-200);
    transform: translateY(-50%);
    z-index: 0;
}

.wizard-step.done:not(:last-child)::after { background: var(--blue-400); }

.step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all .2s;
}

.wizard-step.active .step-num { background: var(--blue-600); color: var(--white); }
.wizard-step.done .step-num { background: var(--success); color: var(--white); }

.step-label { font-size: .8rem; font-weight: 600; color: var(--gray-400); }
.wizard-step.active .step-label { color: var(--blue-600); }
.wizard-step.done .step-label { color: var(--success); }

/* ============================================================ MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(3px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn .2s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp .2s ease;
}

@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-header {
    padding: 22px 28px 18px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-close {
    background: var(--gray-100);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.modal-close:hover { background: var(--gray-200); }

.modal-body { padding: 24px 28px; }
.modal-footer { padding: 16px 28px; border-top: 1px solid var(--gray-100); display: flex; gap: 10px; justify-content: flex-end; }

/* ============================================================ EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--gray-500); margin-bottom: 8px; }
.empty-state p { font-size: .875rem; margin-bottom: 24px; }

/* ============================================================ PAGINATION */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    padding: 20px 0;
}

.page-link {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: .825rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    transition: all .15s;
}

.page-link:hover { background: var(--gray-100); }
.page-link.active { background: var(--blue-600); color: var(--white); }

/* ============================================================ SEARCH / FILTERS */
.filters-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-input-wrap svg {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--gray-400);
    pointer-events: none;
}

.search-input-wrap input {
    padding-left: 36px !important;
}

/* ============================================================ UTILS */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.text-right { text-align: right; }
.text-sm { font-size: .82rem; }
.text-xs { font-size: .72rem; }
.text-muted { color: var(--gray-400); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-blue { color: var(--blue-600); }
.font-bold { font-weight: 700; }
.font-head { font-family: var(--font-head); }
.w-full { width: 100%; }
.hidden { display: none !important; }

.divider { height: 1px; background: var(--gray-200); margin: 20px 0; }

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .sidebar-toggle { display: flex; }
    .content-wrapper { padding: 20px 16px; }
    .form-row-2, .form-row-3, .form-row-4 { grid-template-columns: 1fr; }
    .chantier-grid { grid-template-columns: repeat(2, 1fr); }
    .login-brand { display: none; }
    .login-form-area { width: 100%; padding: 40px 28px; }
}

@media (max-width: 480px) {
    .chantier-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
