*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#f4f7fb;color:#1f2937}.topbar{height:64px;background:#172554;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.topbar a{color:#fff}.shell{display:grid;grid-template-columns:240px 1fr;min-height:calc(100vh - 104px)}.sidebar{background:#fff;padding:20px;border-right:1px solid #dbe2ea;display:flex;flex-direction:column;gap:8px}.sidebar a{padding:11px 12px;text-decoration:none;color:#172554;border-radius:8px}.sidebar a:hover{background:#e8eefc}.content,.public-content{padding:28px;max-width:1400px;width:100%;margin:0 auto}.public-content{max-width:560px}.card{background:#fff;border:1px solid #dbe2ea;border-radius:14px;padding:20px;box-shadow:0 4px 18px rgba(15,23,42,.05)}.login{display:grid;gap:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid fieldset,.full{grid-column:1/-1}.form-grid fieldset{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border:1px solid #dbe2ea;border-radius:10px}label{display:grid;gap:6px;font-weight:600}input,select,textarea,button{font:inherit;padding:11px;border:1px solid #b7c2d0;border-radius:8px}.button.secondary{background:#64748b}button,.button{background:#1d4ed8;color:#fff;border:0;text-decoration:none;padding:11px 16px;border-radius:8px;display:inline-block;cursor:pointer}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.stat{background:#fff;border:1px solid #dbe2ea;border-radius:14px;padding:20px}.stat b{display:block;font-size:1.6rem;color:#172554}.stat span{color:#64748b}.table-wrap{overflow:auto;background:#fff;border:1px solid #dbe2ea;border-radius:12px;margin-top:18px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid #e5e7eb;white-space:nowrap}.badge{background:#e8eefc;color:#1e3a8a;padding:5px 9px;border-radius:999px}.alert{padding:12px 14px;border-radius:8px;margin-bottom:16px}.success{background:#dcfce7;color:#166534}.error{background:#fee2e2;color:#991b1b}.inline-form,.filters{display:flex;gap:10px;align-items:center}.timeline>div{background:#fff;border-left:4px solid #1d4ed8;padding:12px 16px;margin:10px 0}.files{background:#fff;padding:16px 34px;border-radius:10px}footer{text-align:center;padding:12px;color:#64748b}@media(max-width:800px){.shell{grid-template-columns:1fr}.sidebar{flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid #dbe2ea}.form-grid{grid-template-columns:1fr}.form-grid fieldset{grid-template-columns:1fr}.content{padding:16px}.topbar{padding:0 12px;font-size:.9rem}}

/* Tableau de bord */
.dashboard-heading,.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.dashboard-heading{margin-bottom:20px}.dashboard-heading h2,.panel-heading h2{margin:0;color:#172554}.dashboard-kicker{margin:0 0 4px;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:800;color:#1d4ed8}.dashboard-stats{margin-bottom:22px}.dashboard-stats .stat{position:relative;min-height:126px;padding-right:54px;box-shadow:0 6px 20px rgba(15,23,42,.05)}.stat-icon{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:38px;height:38px;background:#eef2ff;border-radius:10px;font-size:1.15rem}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(340px,1fr);gap:20px;margin-bottom:24px}.dashboard-panel{min-width:0}.dashboard-panel-wide{min-height:330px}.bar-chart{display:grid;gap:16px;margin-top:22px}.bar-row{display:grid;grid-template-columns:minmax(130px,190px) minmax(150px,1fr) 110px;align-items:center;gap:12px}.bar-label{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{height:16px;background:#e8eefc;border-radius:999px;overflow:hidden}.bar-fill{display:block;height:100%;background:linear-gradient(90deg,#1d4ed8,#60a5fa);border-radius:999px}.bar-value{text-align:right;font-weight:700;color:#172554}.column-chart{height:245px;display:flex;align-items:stretch;gap:7px;margin-top:22px;padding-top:20px}.column-item{min-width:0;flex:1;display:grid;grid-template-rows:22px 1fr 34px;text-align:center;align-items:end}.column-count{font-weight:800;color:#172554;font-size:.82rem}.column-track{height:100%;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(to top,#f1f5f9,transparent);border-radius:7px 7px 0 0}.column-track span{display:block;width:min(30px,74%);background:linear-gradient(180deg,#60a5fa,#1d4ed8);border-radius:7px 7px 2px 2px;min-height:0}.column-item small{align-self:start;writing-mode:vertical-rl;transform:rotate(180deg);margin:6px auto 0;color:#64748b;font-size:.68rem}.dashboard-section{margin-top:26px}.dashboard-table{margin-top:14px}.dashboard-table tbody tr:hover{background:#f8fafc}.empty-state{color:#64748b;text-align:center;padding:60px 20px}
@media(max-width:1100px){.dashboard-grid{grid-template-columns:1fr}.dashboard-panel-wide{min-height:auto}}
@media(max-width:800px){.dashboard-heading,.panel-heading{align-items:flex-start;flex-direction:column}.dashboard-heading .button,.panel-heading .button{width:100%;text-align:center}.bar-row{grid-template-columns:1fr 88px}.bar-track{grid-column:1/-1;grid-row:2}.bar-value{grid-column:2;grid-row:1}.column-chart{overflow-x:auto}.column-item{min-width:38px}.dashboard-stats .stat{min-height:110px}}

/* Menu avec icônes */
.sidebar{gap:6px;padding:18px 14px}.sidebar a{position:relative;display:flex;align-items:center;gap:12px;min-height:46px;padding:11px 13px;font-weight:650;transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.sidebar a:hover{background:#eef3ff;color:#1d4ed8;transform:translateX(3px)}.sidebar a.active{background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff;box-shadow:0 7px 18px rgba(29,78,216,.22)}.sidebar a.active::before{content:"";position:absolute;left:-14px;top:9px;bottom:9px;width:4px;border-radius:0 4px 4px 0;background:#60a5fa}.menu-icon{width:22px;height:22px;flex:0 0 22px;display:inline-grid;place-items:center}.menu-icon svg{width:21px;height:21px;fill:currentColor}.sidebar-separator{height:1px;background:#e2e8f0;margin:9px 7px}.topbar-user{display:flex;align-items:center;gap:14px}.topbar-logout{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;text-decoration:none;background:rgba(255,255,255,.1);transition:background .18s ease}.topbar-logout:hover{background:rgba(255,255,255,.2)}.topbar-logout .menu-icon{width:18px;height:18px;flex-basis:18px}.topbar-logout .menu-icon svg{width:18px;height:18px}
@media(max-width:800px){.sidebar{padding:10px;gap:7px}.sidebar a{flex:0 0 auto;min-height:42px;padding:9px 12px}.sidebar a:hover{transform:none}.sidebar a.active::before{display:none}.sidebar-separator{width:1px;height:30px;margin:6px 2px}.topbar-user>span{display:none}.topbar-logout span:last-child{display:none}}
.info-box{display:grid;gap:5px;padding:12px 14px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:10px}.info-box span{font-size:1.25rem;font-weight:800;color:#172554}.info-box small{color:#475569;font-weight:400}.reimbursement-form{margin-top:20px}.reimbursement-form h3{margin-top:24px}.reimbursement-form td:first-child,.reimbursement-form th:first-child{text-align:center}.reimbursement-form input[type=checkbox]{width:20px;height:20px}

/* Mise en couleur des données de la vue Mes demandes */
.requests-table tbody tr{transition:background .18s ease}.requests-table tbody tr:hover{background:#f8fafc}.request-value,.request-status{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:8px;font-weight:700;border:1px solid transparent}.request-number{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe;text-decoration:none}.request-number:hover{background:#bfdbfe}.request-section{background:#ede9fe;color:#6d28d9;border-color:#ddd6fe}.request-beneficiary{background:#ecfeff;color:#0e7490;border-color:#a5f3fc}.request-aid{background:#fef3c7;color:#92400e;border-color:#fde68a}.request-season{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.request-amount{background:#dcfce7;color:#166534;border-color:#bbf7d0}.request-date{background:#fce7f3;color:#9d174d;border-color:#fbcfe8}.request-status{border-radius:999px;white-space:nowrap;background:#e8eefc;color:#1e3a8a;border-color:#c7d2fe}.request-status-brouillon{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.request-status-deposee,.request-status-a-verifier{background:#fef3c7;color:#92400e;border-color:#fde68a}.request-status-incomplete,.request-status-refusee{background:#fee2e2;color:#991b1b;border-color:#fecaca}.request-status-validee,.request-status-transmise{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}.request-status-remboursement-recu,.request-status-a-rembourser{background:#ffedd5;color:#9a3412;border-color:#fed7aa}.request-status-remboursee,.request-status-cloturee{background:#dcfce7;color:#166534;border-color:#bbf7d0}@media(max-width:800px){.request-value,.request-status{padding:4px 8px;min-height:28px}}

/* ==========================================================
   Identité visuelle inspirée du site SCORING PRO
   Fonds bleu nuit, dégradés bleutés et surfaces lumineuses
   ========================================================== */
:root{
  --scoring-navy:#0b1739;
  --scoring-blue:#172554;
  --scoring-royal:#1d4ed8;
  --scoring-sky:#60a5fa;
  --scoring-pale:#eef5ff;
  --scoring-surface:rgba(255,255,255,.94);
}

body{
  min-height:100vh;
  background:
    radial-gradient(circle at 8% 4%,rgba(96,165,250,.24),transparent 30%),
    radial-gradient(circle at 92% 14%,rgba(29,78,216,.16),transparent 32%),
    linear-gradient(145deg,#f8fbff 0%,#edf4ff 48%,#e4edfb 100%);
  background-attachment:fixed;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.34;
  background-image:
    linear-gradient(rgba(23,37,84,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(23,37,84,.035) 1px,transparent 1px);
  background-size:34px 34px;
}

.topbar{
  background:
    radial-gradient(circle at 20% 0%,rgba(96,165,250,.24),transparent 34%),
    linear-gradient(120deg,var(--scoring-navy) 0%,var(--scoring-blue) 56%,#1e3a8a 100%);
  box-shadow:0 8px 26px rgba(11,23,57,.22);
}
/* Titre et sous-titre de l'en-tête empilés et espacés (sinon ils se collent) */
.app-identity{
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.25;
}
.app-identity small{
  opacity:.85;
}
/* Boutons d'action (Activer/Désactiver, Supprimer) dans le tableau des utilisateurs */
.row-actions{white-space:nowrap}
.row-actions .button{padding:7px 12px;font-size:.9rem;margin-right:6px}

.shell{
  background:transparent;
}

.sidebar{
  background:
    linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(242,247,255,.97) 100%);
  border-right:1px solid rgba(148,163,184,.34);
  box-shadow:8px 0 28px rgba(15,23,42,.06);
}

.sidebar a:hover{
  background:linear-gradient(135deg,#edf4ff,#dfeaff);
}

.sidebar a.active{
  background:linear-gradient(135deg,#172554 0%,#1d4ed8 70%,#2563eb 100%);
  box-shadow:0 9px 22px rgba(29,78,216,.28);
}

.content,.public-content{
  position:relative;
}

.card,.stat,.table-wrap,.timeline>div,.files{
  background:var(--scoring-surface);
  border-color:rgba(148,163,184,.30);
  box-shadow:
    0 12px 32px rgba(15,23,42,.075),
    inset 0 1px 0 rgba(255,255,255,.84);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

.card{
  background:
    linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,250,255,.94));
}

.stat{
  background:
    radial-gradient(circle at 100% 0%,rgba(96,165,250,.15),transparent 42%),
    linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,248,255,.95));
}

input,select,textarea{
  background:rgba(255,255,255,.92);
}

button,.button{
  background:linear-gradient(135deg,#172554,#1d4ed8 72%,#2563eb);
  box-shadow:0 6px 16px rgba(29,78,216,.19);
}

button:hover,.button:hover{
  filter:brightness(1.06);
}

.table-wrap table{
  background:rgba(255,255,255,.76);
}

th{
  background:linear-gradient(180deg,#f5f8ff,#eaf1fc);
  color:#172554;
}

footer{
  color:#475569;
}

/* Page de connexion : fond plus proche de l'écran SCORING PRO */
body:has(.public-content){
  background:
    radial-gradient(circle at 18% 14%,rgba(96,165,250,.34),transparent 30%),
    radial-gradient(circle at 84% 80%,rgba(37,99,235,.24),transparent 34%),
    linear-gradient(145deg,#08142f 0%,#172554 48%,#1e3a8a 100%);
}

body:has(.public-content) .public-content{
  padding-top:7vh;
}

body:has(.public-content) .card{
  box-shadow:0 24px 60px rgba(2,6,23,.34);
}

body:has(.public-content) footer{
  color:rgba(255,255,255,.76);
}

@media(max-width:800px){
  .sidebar{
    background:rgba(255,255,255,.97);
    box-shadow:0 8px 22px rgba(15,23,42,.08);
  }
}

/* ==========================================================
   Page de connexion modernisée USC Marseille
   ========================================================== */
body:has(.login-page){
  min-height:100vh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 12% 10%,rgba(96,165,250,.34),transparent 31%),
    radial-gradient(circle at 88% 84%,rgba(37,99,235,.30),transparent 35%),
    linear-gradient(145deg,#061027 0%,#101f4a 48%,#1e3a8a 100%);
}
body:has(.login-page)::before{
  opacity:.15;
  background-size:42px 42px;
}
body:has(.login-page) .topbar{
  position:relative;
  z-index:5;
  height:68px;
  background:rgba(6,16,39,.48);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:none;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
body:has(.login-page) .public-content{
  max-width:none;
  min-height:calc(100vh - 110px);
  padding:0;
}
body:has(.login-page) .public-content>h1{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
body:has(.login-page)>footer{
  display:none;
}
.login-page{
  position:relative;
  isolation:isolate;
  min-height:calc(100vh - 68px);
  display:grid;
  place-items:center;
  padding:44px 20px;
  overflow:hidden;
}
.login-page::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background:linear-gradient(120deg,rgba(255,255,255,.025),transparent 42%,rgba(96,165,250,.055));
}
.login-decoration{
  position:absolute;
  z-index:-2;
  border-radius:50%;
  filter:blur(3px);
  animation:loginFloat 10s ease-in-out infinite alternate;
}
.login-decoration-one{
  width:360px;
  height:360px;
  top:-150px;
  right:-90px;
  background:rgba(96,165,250,.14);
}
.login-decoration-two{
  width:300px;
  height:300px;
  bottom:-140px;
  left:-90px;
  background:rgba(29,78,216,.18);
  animation-delay:-3s;
}
.login-panel{
  width:min(100%,440px);
  padding:34px 38px 26px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(241,246,255,.90));
  box-shadow:0 34px 90px rgba(2,6,23,.48),inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  animation:loginAppear .55s ease-out both;
}
.login-brand{
  text-align:center;
  margin-bottom:25px;
}
.login-logo-wrap{
  width:108px;
  height:108px;
  display:grid;
  place-items:center;
  margin:0 auto 15px;
  padding:9px;
  border-radius:24px;
  background:#fff;
  border:1px solid rgba(148,163,184,.32);
  box-shadow:0 12px 30px rgba(15,23,42,.15);
}
.login-logo{
  display:block;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.login-eyebrow{
  margin:0 0 5px;
  color:#1d4ed8;
  font-size:.78rem;
  font-weight:850;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.login-brand h2{
  margin:0;
  color:#0f1f49;
  font-size:1.62rem;
  line-height:1.15;
}
.login-intro{
  margin:9px auto 0;
  max-width:320px;
  color:#64748b;
  font-size:.94rem;
  line-height:1.5;
}
.login-error{
  margin:0 0 18px;
  border:1px solid #fecaca;
  text-align:center;
}
.login-form{
  display:grid;
  gap:10px;
}
.login-form>label{
  margin-top:3px;
  color:#27375e;
  font-size:.88rem;
  font-weight:750;
}
.login-field{
  position:relative;
}
.login-field-icon{
  position:absolute;
  left:14px;
  top:50%;
  width:20px;
  height:20px;
  transform:translateY(-50%);
  color:#64748b;
  pointer-events:none;
}
.login-field-icon svg{
  width:100%;
  height:100%;
  fill:currentColor;
}
.login-field--has-toggle input{
  padding-right:46px;
}
/* Masque l'icône œil native du navigateur (Edge/Chrome) pour ne garder que notre bouton */
.login-field input::-ms-reveal,
.login-field input::-ms-clear{
  display:none;
}
.login-field-toggle{
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border:none;
  background:transparent;
  border-radius:8px;
  color:#64748b;
  cursor:pointer;
  transition:color .15s ease,background .15s ease;
}
.login-field-toggle:hover{
  color:#334155;
  background:rgba(100,116,139,.10);
}
.login-field-toggle:focus-visible{
  outline:2px solid #3b82f6;
  outline-offset:1px;
}
.login-field-toggle svg{
  width:20px;
  height:20px;
  flex-shrink:0;
  fill:currentColor;
}
/* L'attribut hidden est neutralisé par la blockification flex : on masque explicitement l'icône cachée */
.login-field-toggle svg[hidden]{
  display:none;
}
.login-field input{
  width:100%;
  min-height:50px;
  padding:12px 14px 12px 46px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  background:rgba(255,255,255,.90);
  color:#172554;
  outline:none;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.03);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.login-field input::placeholder{
  color:#94a3b8;
}
.login-field input:focus{
  border-color:#3b82f6;
  background:#fff;
  box-shadow:0 0 0 4px rgba(59,130,246,.14);
}
.login-submit{
  min-height:50px;
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:12px;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 11px 24px rgba(29,78,216,.27);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.login-submit svg{
  width:20px;
  height:20px;
  fill:currentColor;
  transition:transform .18s ease;
}
.login-submit:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(29,78,216,.33);
}
.login-submit:hover svg{
  transform:translateX(3px);
}
.login-submit:active{
  transform:translateY(0);
}
.login-forgot{
  justify-self:center;
  margin-top:6px;
  color:#1d4ed8;
  font-size:.9rem;
  font-weight:700;
  text-decoration:none;
}
.login-forgot:hover{
  text-decoration:underline;
}
.login-copyright{
  display:grid;
  gap:3px;
  margin-top:25px;
  padding-top:18px;
  border-top:1px solid #dbe3ef;
  text-align:center;
  color:#64748b;
  font-size:.78rem;
}
.login-copyright strong{
  color:#334155;
}
@keyframes loginAppear{
  from{opacity:0;transform:translateY(18px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes loginFloat{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(22px,-18px,0) scale(1.08)}
}
@media(prefers-reduced-motion:reduce){
  .login-panel,.login-decoration{animation:none}
  .login-submit,.login-submit svg{transition:none}
}
@media(max-width:560px){
  body:has(.login-page) .topbar{
    height:60px;
    justify-content:center;
  }
  .login-page{
    min-height:calc(100vh - 60px);
    padding:24px 14px;
  }
  .login-panel{
    padding:28px 22px 22px;
    border-radius:21px;
  }
  .login-logo-wrap{
    width:94px;
    height:94px;
  }
  .login-brand h2{
    font-size:1.42rem;
  }
}

/* ===== Version 1.1.0 - Lot 2 : fiche demande et timeline ===== */
.request-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 0 18px;
  padding:24px;
  border:1px solid #dbe5f1;
  border-radius:18px;
  background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 100%);
}
.request-hero-main h2{margin:.25rem 0 .35rem;font-size:1.65rem;color:#172554}
.request-hero-main p{margin:0;color:#52627a}
.request-kicker{display:block;color:#2563eb;font-size:.76rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.request-status{display:flex;align-items:center;gap:12px;min-width:230px;padding:14px 16px;border-radius:14px;border:1px solid transparent}
.request-status-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;font-size:1.1rem;font-weight:900;background:rgba(255,255,255,.75)}
.request-status span:last-child{display:grid;gap:2px}
.request-status small{font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;opacity:.75}
.request-status strong{font-size:.95rem}
.status-neutral{background:#f1f5f9;color:#334155;border-color:#cbd5e1}
.status-danger{background:#fff1f2;color:#9f1239;border-color:#fecdd3}
.status-submitted,.status-warning{background:#fffbeb;color:#92400e;border-color:#fde68a}
.status-accepted,.status-sent{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.status-organism{background:#faf5ff;color:#7e22ce;border-color:#e9d5ff}
.status-completed{background:#ecfdf5;color:#166534;border-color:#bbf7d0}
.request-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.summary-item{display:grid;gap:4px;padding:17px 18px;border:1px solid #e2e8f0;border-radius:15px;background:#fff}
.summary-item span{font-size:.77rem;font-weight:750;color:#64748b;text-transform:uppercase;letter-spacing:.035em}
.summary-item strong{font-size:1.15rem;color:#172554;overflow-wrap:anywhere}
.summary-item small{color:#64748b}
.request-progress{padding:20px 22px}
.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.progress-heading h2{margin:0;font-size:1.15rem}
.progress-heading span{padding:.35rem .65rem;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:.8rem;font-weight:800}
.progress-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;padding:0;list-style:none}
.progress-steps li{position:relative;display:grid;justify-items:center;gap:8px;text-align:center;color:#94a3b8}
.progress-steps li:not(:last-child)::after{content:"";position:absolute;top:18px;left:calc(50% + 22px);right:calc(-50% + 22px);height:3px;background:#e2e8f0;z-index:0}
.progress-steps li.done:not(:last-child)::after{background:#22c55e}
.step-marker{position:relative;z-index:1;display:grid;place-items:center;width:38px;height:38px;border:3px solid #e2e8f0;border-radius:50%;background:#fff;font-weight:900}
.progress-steps li.done{color:#166534}.progress-steps li.done .step-marker{border-color:#22c55e;background:#22c55e;color:#fff}
.progress-steps li.current{color:#1d4ed8}.progress-steps li.current .step-marker{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:0 0 0 5px rgba(37,99,235,.10)}
.step-label{font-size:.82rem;font-weight:750}
.progress-note{margin:18px 0 0;padding:10px 12px;border-radius:10px;font-size:.9rem}
.danger-note{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}
.request-details{padding:20px}
.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.details-grid p{display:grid;gap:7px;margin:0;padding:13px;border:1px solid #edf0f5;border-radius:12px;background:#fafcff}
.details-grid b{font-size:.78rem;color:#64748b;text-transform:uppercase;letter-spacing:.035em}
.detail-value{justify-self:start;padding:.35rem .6rem;border-radius:999px;font-weight:800}
.badge-beneficiary{background:#f3e8ff;color:#6b21a8}.badge-section{background:#ffedd5;color:#9a3412}.badge-aid{background:#fef9c3;color:#854d0e}.badge-code{background:#dcfce7;color:#166534}.badge-code-missing{background:#fee2e2;color:#991b1b}
.request-comment{margin-top:16px;padding:14px 16px;border-left:4px solid #94a3b8;border-radius:10px;background:#f8fafc}
.request-comment p{margin:.4rem 0 0;color:#475569}
.history-section{margin-top:28px}
.history-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:15px}
.history-heading h2{margin:.2rem 0 0}
.history-count{padding:.35rem .65rem;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.8rem;font-weight:750}
.audit-timeline{position:relative;margin-left:12px;padding-left:34px}
.audit-timeline::before{content:"";position:absolute;left:13px;top:10px;bottom:12px;width:3px;border-radius:4px;background:#dbe5f1}
.timeline-event{position:relative;margin:0 0 16px}
.timeline-marker{position:absolute;left:-34px;top:15px;z-index:1;display:grid;place-items:center;width:28px;height:28px;border:3px solid #fff;border-radius:50%;font-size:.78rem;font-weight:900;box-shadow:0 0 0 2px #cbd5e1;background:#64748b;color:#fff}
.timeline-card{padding:15px 17px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.timeline-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.timeline-card-head strong{color:#172554}
.timeline-card-head time{white-space:nowrap;color:#64748b;font-size:.8rem}
.timeline-card p{margin:.55rem 0;color:#475569}
.timeline-user{margin-top:.65rem;color:#64748b;font-size:.82rem;font-weight:700}
.event-danger .timeline-marker{background:#e11d48;box-shadow:0 0 0 2px #fecdd3}.event-submitted .timeline-marker,.event-warning .timeline-marker{background:#d97706;box-shadow:0 0 0 2px #fde68a}.event-accepted .timeline-marker,.event-sent .timeline-marker{background:#2563eb;box-shadow:0 0 0 2px #bfdbfe}.event-organism .timeline-marker{background:#9333ea;box-shadow:0 0 0 2px #e9d5ff}.event-completed .timeline-marker{background:#16a34a;box-shadow:0 0 0 2px #bbf7d0}
.event-danger .timeline-card{border-left:4px solid #e11d48}.event-submitted .timeline-card,.event-warning .timeline-card{border-left:4px solid #d97706}.event-accepted .timeline-card,.event-sent .timeline-card{border-left:4px solid #2563eb}.event-organism .timeline-card{border-left:4px solid #9333ea}.event-completed .timeline-card{border-left:4px solid #16a34a}
.empty-history{text-align:center;color:#64748b}
@media(max-width:900px){.request-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.request-hero{align-items:stretch;flex-direction:column}.request-status{min-width:0}.progress-steps{grid-template-columns:1fr;gap:12px}.progress-steps li{grid-template-columns:40px 1fr;justify-items:start;align-items:center;text-align:left}.progress-steps li:not(:last-child)::after{top:39px;bottom:-13px;left:18px;right:auto;width:3px;height:auto}.details-grid{grid-template-columns:1fr}.timeline-card-head{flex-direction:column;gap:4px}.timeline-card-head time{white-space:normal}}
@media(max-width:520px){.request-summary{grid-template-columns:1fr}.history-heading,.progress-heading{align-items:flex-start;flex-direction:column}.audit-timeline{margin-left:3px;padding-left:31px}}

/* ===== Connexion (thème Scoring Pro : fond noir + particules dorées + silhouette Bonne-Mère) ===== */
.login-body{min-height:100vh;min-height:100dvh;width:100%;margin:0;display:flex;align-items:center;justify-content:center;background-color:#000;background-image:radial-gradient(circle at top,#2a2a2a 0%,#141414 55%,#000000 100%);background-repeat:no-repeat;background-attachment:fixed;position:relative;overflow-x:hidden;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.login-body::before{content:"";position:absolute;bottom:-40px;right:-30px;width:300px;height:880px;background-image:url('bonne-mere.png');background-size:contain;background-repeat:no-repeat;background-position:bottom right;opacity:.28;pointer-events:none;z-index:0;filter:drop-shadow(0 0 30px rgba(240,209,32,.12))}
@media(max-width:600px){.login-body::before{width:170px;height:500px;opacity:.2}}
#gold-particles{position:fixed;inset:0;z-index:0;pointer-events:none}
.login-card{position:relative;z-index:1;width:min(420px,calc(100vw - 32px));padding:34px;border-radius:28px;background:rgba(255,255,255,.08);box-shadow:0 24px 60px rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(22px);color:#ecebf0}
.login-card .login-logo-img{width:88px;height:88px;display:block;margin:0 auto 12px}
.login-card h1{margin:0;font-size:26px;letter-spacing:-.03em;text-align:center;color:#fff}
.login-card p.login-sub{margin:6px 0 24px;color:#a8a296;text-align:center;font-size:.92rem}
.login-card form{display:grid;gap:10px}
.login-card label{font-weight:700;color:#d9d5c9;margin-top:6px;font-size:.88rem}
.login-card input{width:100%;padding:13px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.16);font-size:16px;background:rgba(0,0,0,.35);color:#fff}
.login-card input:focus{outline:none;border-color:#e8b62c}
.login-card .login-submit{margin-top:12px;width:100%;justify-content:center;display:flex;align-items:center;gap:8px;background:linear-gradient(180deg,#e8b62c,#b8891a);color:#201802;border:0;border-radius:14px;padding:13px 14px;font-weight:800;font-size:16px;cursor:pointer}
.login-card .login-submit:hover{filter:brightness(1.05)}
.login-card .login-error{padding:12px 14px;margin-bottom:16px;border-radius:14px;background:rgba(224,90,90,.14);color:#f08a8a;border:1px solid rgba(224,90,90,.4);font-weight:700}
.login-card .password-field{position:relative}
.login-card .password-field input{padding-right:44px}
.login-card .toggle-password{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:transparent;border:none;padding:6px 8px;cursor:pointer;font-size:18px;line-height:1;color:#a8a296;border-radius:8px}
.login-card .toggle-password:hover,.login-card .toggle-password:focus-visible{background:rgba(255,255,255,.08)}
.login-forgot{text-align:right;margin-top:4px}
.login-forgot a{color:#e8b62c;font-size:.82rem;font-weight:700;text-decoration:none}
.login-forgot a:hover{text-decoration:underline}
.login-back{display:block;text-align:center;margin-top:18px;color:#a8a296;text-decoration:none;font-weight:700;font-size:.85rem}
.login-back:hover{color:#e8b62c}
.login-copyright{margin-top:18px;text-align:center;color:#7d7a72;font-size:.72rem;line-height:1.5}
