/* Money+Xfer — Design System Marine & Vert */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Vert — accent de marque (remplace l'ancien or) */
  --gold:        #5AB849;
  --gold-dk:     #3D8F32;
  --gold-lt:     #8ED17E;
  --gold-pale:   #EAF7E9;
  --gold-subtle: rgba(90,184,73,.10);
  /* Rouge — statut danger */
  --red:         #B02A2A;
  --red-dk:      #8A1F1F;
  --red-lt:      #D94040;
  --red-pale:    #FDEDEC;
  /* Marine — neutres (remplace le sable) */
  --sand-900:    #0E1620;
  --sand-800:    #182634;
  --sand-700:    #223547;
  --sand-600:    #48607A;
  --sand-400:    #8CA0B3;
  --sand-200:    #D7E1E8;
  --sand-100:    #EDF2F5;
  --sand-50:     #F7FAFB;
  --white:       #FFFFFF;
  /* Bleu marine — couleur secondaire de marque */
  --navy:        #0B3D67;
  --navy-dk:     #082C4C;
  --navy-lt:     #1B5A94;
  --silver:      #B2BFCB;
  /* Statuts */
  --success:     #27AE60;
  --warning:     #D4AC0D;
  --danger:      #B02A2A;
  --info:        #0B3D67;

  --sidebar-w:   270px;
  --header-h:    64px;
  --radius:      10px;
  --shadow:      0 1px 4px rgba(11,22,32,.07), 0 1px 2px rgba(11,22,32,.04);
  --shadow-md:   0 4px 20px rgba(11,22,32,.10);
  --shadow-lg:   0 12px 40px rgba(11,22,32,.16);
  --font:        'Outfit', sans-serif;
  --font-display:'Poppins', sans-serif;
  --mono:        'JetBrains Mono', monospace;

  /* Aliases compat */
  --green:       var(--gold);
  --green-dk:    var(--gold-dk);
  --green-lt:    var(--gold-lt);
  --green-pale:  var(--gold-pale);
  --blue:        var(--navy);
  --blue-dk:     var(--navy-dk);
  --blue-lt:     var(--navy-lt);
  --blue-pale:   #E8F0F7;
  --gray-900:    var(--sand-900);
  --gray-800:    var(--sand-800);
  --gray-600:    var(--sand-600);
  --gray-400:    var(--sand-400);
  --gray-200:    var(--sand-200);
  --gray-100:    var(--sand-100);
  --dark:        var(--sand-900);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body { font-family: var(--font); background: var(--sand-100); color: var(--sand-900); line-height: 1.6; -webkit-font-smoothing: antialiased; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sand-200); border-radius: 99px; }

/* ══ AUTH ══ */
.auth-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(90,184,73,.18) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 80% 100%, rgba(176,42,42,.12) 0%, transparent 60%), linear-gradient(160deg, #0E1620 0%, #182634 40%, #0E1620 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; position: relative; overflow: hidden;
}
.auth-page::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(60deg, transparent 0px, transparent 40px, rgba(90,184,73,.03) 40px, rgba(90,184,73,.03) 41px), repeating-linear-gradient(-60deg, transparent 0px, transparent 40px, rgba(90,184,73,.03) 40px, rgba(90,184,73,.03) 41px);
  pointer-events: none;
}
.auth-card {
  background: rgba(251,248,242,.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(90,184,73,.25);
  border-radius: 20px; padding: 44px 40px;
  width: 100%; max-width: 440px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(90,184,73,.08);
  position: relative; z-index: 1;
  animation: authIn .6s cubic-bezier(.22,.68,0,1.2) both;
}
@keyframes authIn { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.auth-logo { text-align: center; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(90,184,73,.2); }
.auth-logo img { max-height: 110px; max-width: 300px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(90,184,73,.25)); }
.auth-logo-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--gold), var(--red)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; color: white; margin: 0 auto 12px; }
.auth-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--sand-800); letter-spacing: .05em; margin-top: 12px; }
.auth-subtitle { font-size: .8rem; color: var(--sand-600); margin-top: 4px; }

/* ══ LAYOUT ══ */
.app-wrapper { display: flex; min-height: 100vh; }

/* ══ SIDEBAR ══ */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--sand-800) 0%, var(--sand-900) 100%);
  display: flex; flex-direction: column;
  position: sticky; top: 0; align-self: flex-start; height: 100vh; z-index: 100;
  transition: transform .3s;
  border-right: 1px solid rgba(90,184,73,.1);
}
.sidebar-brand {
  display: flex; align-items: center; justify-content: center;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(90,184,73,.15);
  background: rgba(0,0,0,.15);
  min-height: 80px;
}
.sidebar-logo { width: 100%; max-width: 185px; height: auto; max-height: 60px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(90,184,73,.35)); }
.sidebar-logo-default { width: 44px; height: 44px; background: linear-gradient(135deg, var(--gold), var(--red)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; color: white; }
.sidebar-appname { font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: white; letter-spacing: .06em; }
.sidebar-tagline { font-size: .64rem; color: rgba(255,255,255,.3); letter-spacing: .04em; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 14px 12px; }
.nav-section-label { font-size: .59rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(90,184,73,.4); padding: 18px 8px 5px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; margin-bottom: 2px; color: rgba(255,255,255,.5); font-size: .84rem; font-weight: 500; text-decoration: none; transition: all .15s; }
.nav-item:hover { background: rgba(90,184,73,.08); color: rgba(255,255,255,.85); }
.nav-item.active { background: linear-gradient(135deg, rgba(90,184,73,.2), rgba(176,42,42,.15)); border: 1px solid rgba(90,184,73,.18); color: var(--gold-lt); font-weight: 600; }
.nav-item .nav-icon { width: 17px; height: 17px; flex-shrink: 0; opacity: .6; }
.nav-item.active .nav-icon { opacity: 1; }
.nav-item.nav-item-primary { background: linear-gradient(135deg, var(--gold), var(--red)); color: white; font-weight: 700; margin-bottom: 6px; box-shadow: 0 4px 14px rgba(90,184,73,.28); border: none !important; }
.nav-item.nav-item-primary .nav-icon { opacity: 1; }
.nav-item.nav-item-primary:hover { background: linear-gradient(135deg, var(--gold-lt), var(--red-lt)); box-shadow: 0 6px 18px rgba(90,184,73,.38); transform: translateY(-1px); color: white; }
.nav-badge { margin-left: auto; background: var(--red); color: white; font-size: .6rem; font-weight: 700; padding: 2px 6px; border-radius: 99px; }
.sidebar-footer { padding: 12px; border-top: 1px solid rgba(90,184,73,.1); }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; transition: background .15s; text-decoration: none; }
.sidebar-user:hover { background: rgba(90,184,73,.07); }
.sidebar-avatar { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: linear-gradient(135deg, var(--gold), var(--red)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: .8rem; flex-shrink: 0; }
.sidebar-username { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.2; }
.sidebar-role { font-size: .67rem; color: rgba(255,255,255,.35); }

/* ══ MAIN ══ */
.main-content { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; background: var(--sand-100); }

.topbar { height: var(--header-h); background: var(--white); border-bottom: 1px solid var(--sand-200); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: relative; z-index: 50; box-shadow: 0 1px 8px rgba(28,22,16,.05); }
.topbar-left { display: flex; align-items: center; gap: 16px; }
.page-title { font-size: 1.05rem; font-weight: 700; color: var(--sand-900); }
.breadcrumb { font-size: .77rem; color: var(--sand-400); display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.breadcrumb a { color: var(--gold-dk); text-decoration: none; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.page-content { padding: 24px 28px; flex: 1; }

/* ══ CARDS ══ */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--sand-200); box-shadow: var(--shadow); }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--sand-100); }
.card-title { font-size: .92rem; font-weight: 700; color: var(--sand-900); }
.card-body { padding: 20px; }
.card-sm { padding: 18px 20px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ══ DETAIL ROWS (sidebar Détails / Bénéficiaire style) ══ */
.detail-list { display: flex; flex-direction: column; }
.detail-row { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; border-bottom: 1px solid var(--sand-100); }
.detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-row:first-child { padding-top: 0; }
.detail-label { font-size: .72rem; color: var(--sand-400); }
.detail-value { font-size: .92rem; font-weight: 700; color: var(--sand-900); }

/* ══ STEP HEADER (Étape N — Titre) ══ */
.step-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.step-header-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-pale); color: var(--gold-dk); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.step-header-eyebrow { font-size: .78rem; font-weight: 700; color: var(--gold-dk); margin-bottom: 2px; }
.step-header-title { font-size: 1.25rem; font-weight: 800; color: var(--sand-900); line-height: 1.2; }
.step-header-desc { font-size: .85rem; color: var(--sand-400); margin-top: 4px; }
.choice-card .choice-sub { display: block; font-size: .76rem; font-weight: 400; color: var(--sand-400); margin-top: 2px; }

/* ══ STAT CARDS ══ */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--sand-200); padding: 20px; display: flex; align-items: flex-start; gap: 16px; transition: box-shadow .15s, transform .15s; }
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon.green  { background: var(--gold-pale); color: var(--gold-dk); }
.stat-icon.blue   { background: var(--red-pale);  color: var(--red); }
.stat-icon.orange { background: #FFF7ED; color: #EA580C; }
.stat-icon.red    { background: #FEF2F2; color: var(--danger); }
.stat-num   { font-size: 1.55rem; font-weight: 800; color: var(--sand-900); line-height: 1; }
.stat-label { font-size: .74rem; color: var(--sand-400); margin-top: 3px; }
.stat-trend { font-size: .71rem; font-weight: 600; margin-top: 6px; }
.stat-trend.up   { color: var(--success); }
.stat-trend.down { color: var(--danger); }

/* ══ TABLE ══ */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
thead th { padding: 10px 16px; text-align: left; font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--sand-400); border-bottom: 1px solid var(--sand-200); white-space: nowrap; background: var(--sand-50); }
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--sand-100); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--sand-50); }

/* ══ BADGES ══ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: .7rem; font-weight: 600; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }
.badge-success  { background: #DCFCE7; color: #16A34A; }
.badge-warning  { background: #FEF9C3; color: #B45309; }
.badge-danger   { background: #FEE2E2; color: #B91C1C; }
.badge-info     { background: var(--gold-pale); color: var(--gold-dk); }
.badge-gray     { background: var(--sand-100); color: var(--sand-600); }
.badge-green    { background: var(--gold-pale); color: var(--gold-dk); }
.badge-blue     { background: var(--red-pale);  color: var(--red-dk); }

/* ══ BUTTONS ══ */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; border-radius: 8px; font-size: .83rem; font-weight: 600; border: none; cursor: pointer; transition: all .15s; text-decoration: none; white-space: nowrap; font-family: var(--font); }
.btn-primary { background: var(--gold); color: white; }
.btn-primary:hover { background: var(--gold-dk); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(90,184,73,.3); }
.btn-blue    { background: var(--red); color: white; }
.btn-blue:hover { background: var(--red-dk); }
.btn-outline { background: transparent; color: var(--gold-dk); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold-pale); }
.btn-danger  { background: var(--danger); color: white; }
.btn-danger:hover { background: var(--red-dk); }
.btn-ghost   { background: var(--sand-100); color: var(--sand-800); }
.btn-ghost:hover { background: var(--sand-200); }
.btn-sm  { padding: 5px 12px; font-size: .77rem; border-radius: 6px; }
.btn-lg  { padding: 12px 28px; font-size: .92rem; border-radius: 10px; }
.btn-icon{ padding: 8px; }

/* ══ FORMS ══ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--sand-800); margin-bottom: 6px; }
.form-label span { color: var(--danger); margin-left: 2px; }
.form-control { width: 100%; padding: 9px 13px; border: 1.5px solid var(--sand-200); border-radius: 8px; font-size: .85rem; font-family: var(--font); color: var(--sand-900); background: var(--white); transition: border-color .15s, box-shadow .15s; outline: none; }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(90,184,73,.12); }
.form-control::placeholder { color: var(--sand-400); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint  { font-size: .73rem; color: var(--sand-400); margin-top: 4px; }
.form-error { font-size: .73rem; color: var(--danger);   margin-top: 4px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.input-group { display: flex; }
.input-group .form-control { border-radius: 8px 0 0 8px; flex: 1; }
.input-group .input-addon { padding: 9px 14px; background: var(--sand-100); border: 1.5px solid var(--sand-200); border-left: none; border-radius: 0 8px 8px 0; font-size: .85rem; color: var(--sand-600); display: flex; align-items: center; white-space: nowrap; }

/* ══ ALERTS ══ */
.alert { padding: 13px 16px; border-radius: 8px; font-size: .85rem; margin-bottom: 16px; border-left: 4px solid; }
.alert-success { background: #DCFCE7; border-color: var(--success); color: #14532D; }
.alert-danger  { background: #FEE2E2; border-color: var(--danger);  color: #7F1D1D; }
.alert-warning { background: #FEF9C3; border-color: var(--warning); color: #713F12; }
.alert-info    { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-dk); }

/* ══ MODAL ══ */
.modal-overlay { position: fixed; inset: 0; background: rgba(28,22,16,.6); backdrop-filter: blur(4px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: white; border-radius: 14px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--sand-200); }
.modal-title  { font-size: 1rem; font-weight: 700; }
.modal-body   { padding: 22px; }
.modal-footer { padding: 14px 22px; border-top: 1px solid var(--sand-200); display: flex; justify-content: flex-end; gap: 10px; }
.modal-close  { width: 32px; height: 32px; border: none; background: var(--sand-100); border-radius: 6px; cursor: pointer; font-size: 1rem; }

/* ══ INVOICE ══ */
.invoice-wrapper { max-width: 800px; margin: 0 auto; background: white; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.invoice-header  { padding: 32px 40px; display: flex; justify-content: space-between; align-items: flex-start; background: linear-gradient(135deg, var(--sand-900) 0%, var(--sand-800) 100%); }
.invoice-logo    { font-size: 1.6rem; font-weight: 800; color: white; }
.invoice-logo span { color: var(--gold-lt); }
.invoice-meta    { text-align: right; color: rgba(255,255,255,.6); font-size: .82rem; }
.invoice-meta strong { display: block; color: white; font-size: 1.1rem; }
.invoice-body    { padding: 32px 40px; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.invoice-party-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--sand-400); margin-bottom: 6px; }
.invoice-party-name  { font-size: 1rem; font-weight: 700; }
.invoice-table   { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.invoice-table th { padding: 8px 14px; background: var(--sand-100); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sand-600); text-align: left; }
.invoice-table td { padding: 12px 14px; border-bottom: 1px solid var(--sand-100); font-size: .87rem; }
.invoice-total   { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-bottom: 28px; }
.invoice-total-row { display: flex; gap: 80px; font-size: .85rem; }
.invoice-total-row.big { font-size: 1.1rem; font-weight: 800; padding-top: 8px; border-top: 2px solid var(--sand-900); }
.invoice-qr      { display: flex; gap: 24px; align-items: center; padding: 20px; background: var(--sand-100); border-radius: 10px; }
.invoice-qr img  { width: 90px; height: 90px; border-radius: 8px; border: 2px solid var(--gold); }
.invoice-qr-info { font-size: .78rem; color: var(--sand-600); }
.invoice-qr-info strong { display: block; font-size: .88rem; color: var(--sand-900); margin-bottom: 4px; }
.invoice-footer  { padding: 16px 40px; background: var(--sand-100); font-size: .75rem; color: var(--sand-400); text-align: center; border-top: 1px solid var(--sand-200); }

/* ══ REGION / STATUS BADGES ══ */
.region-afrique      { background: #DCFCE7; color: #15803D; }
.region-europe       { background: #DBEAFE; color: #1D4ED8; }
.region-asie         { background: #FEF9C3; color: #A16207; }
.region-amerique     { background: #FCE7F3; color: #9D174D; }
.region-moyen_orient { background: #FEF3C7; color: #92400E; }
.status-en_attente   { background: #FEF9C3; color: #B45309; }
.status-en_cours     { background: #DBEAFE; color: #1D4ED8; }
.status-complete     { background: #DCFCE7; color: #16A34A; }
.status-echoue       { background: #FEE2E2; color: #B91C1C; }

/* ══ CHOICE CARDS (radio Conforme / Non conforme, etc.) ══ */
.choice-card { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1.5px solid var(--sand-200); border-radius: 10px; cursor: pointer; background: var(--white); transition: all .15s; }
.choice-card:hover { border-color: var(--sand-400); background: var(--sand-50); }
.choice-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-card .choice-dot { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--sand-200); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.choice-card .choice-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: transparent; transition: all .15s; }
.choice-card .choice-icon { font-size: .95rem; }
.choice-card .choice-label { font-weight: 600; font-size: .87rem; color: var(--sand-800); }
.choice-card.choice-positive .choice-icon { color: var(--success); }
.choice-card.choice-negative .choice-icon { color: var(--danger); }
.choice-card.choice-positive:has(input:checked) { border-color: var(--success); background: #F0FDF4; box-shadow: 0 0 0 3px rgba(39,174,96,.10); }
.choice-card.choice-positive:has(input:checked) .choice-dot { border-color: var(--success); }
.choice-card.choice-positive:has(input:checked) .choice-dot::after { background: var(--success); }
.choice-card.choice-negative:has(input:checked) { border-color: var(--danger); background: #FEF2F2; box-shadow: 0 0 0 3px rgba(231,76,60,.10); }
.choice-card.choice-negative:has(input:checked) .choice-dot { border-color: var(--danger); }
.choice-card.choice-negative:has(input:checked) .choice-dot::after { background: var(--danger); }

/* ══ VALIDATE / REJECT ACTION ROW ══ */
.action-row { display: flex; gap: 10px; align-items: stretch; }
.action-row .btn-primary { flex: 1; justify-content: center; padding: 11px 18px; font-size: .85rem; }
.btn-reject { flex-shrink: 0; width: 44px; display: flex; align-items: center; justify-content: center; background: var(--red-pale); color: var(--red); border: 1.5px solid transparent; border-radius: 8px; cursor: pointer; transition: all .15s; }
.btn-reject:hover { background: var(--red); color: white; }

/* ══ MOBILE ══ */
@media (max-width: 1024px) {
  .sidebar { position: fixed; top: 0; left: 0; bottom: 0; height: auto; transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
}
