/* Back-office Portail Hotel Care — sobre, sombre, cohérent avec le portail. */
*{ box-sizing:border-box; margin:0; padding:0; }
body{
  background:linear-gradient(180deg,#161A23,#0A0C11) fixed;
  color:#F5F6F8;
  font-family:"Segoe UI",system-ui,sans-serif;
  min-height:100vh;
}
body.centre{ display:flex; align-items:center; justify-content:center; }

.barre{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 28px; border-bottom:1px solid rgba(255,255,255,.10);
}
main{ max-width:880px; margin:0 auto; padding:28px 20px 60px; }
h1{ font-size:26px; font-weight:600; margin:6px 0 18px; }
h2{ font-size:16px; font-weight:600; margin-bottom:10px; color:#E9EBEF; }

.carte{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:18px;
  margin-bottom:18px;
}
.carte.login{ width:340px; text-align:center; }
.carte.login h1{ font-size:20px; }
.sous{ color:#9AA2AD; font-size:13px; margin:4px 0 16px; }

input, select{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);
  border-radius:8px;
  color:#F5F6F8;
  padding:9px 12px;
  font-size:14px;
  width:100%;
}
input::placeholder{ color:#5A616B; }
input:focus, select:focus{ outline:none; border-color:rgba(255,255,255,.6); }

input[type="time"]{ width:auto; }
input[type="checkbox"]{ width:auto; margin:0; accent-color:#F5F6F8; }
.case{
  display:inline-flex; align-items:center; gap:7px;
  color:#C9CFD8; font-size:14px; white-space:nowrap; cursor:pointer;
}
.ligne label.case{ width:auto; }

button{
  background:#F5F6F8; color:#11141B;
  border:none; border-radius:8px;
  padding:9px 16px; font-size:14px; font-weight:600;
  cursor:pointer; white-space:nowrap;
}
button:hover{ background:#fff; }
button.danger{ background:transparent; color:#E08585; border:1px solid rgba(224,133,133,.5); }
button.danger:hover{ background:rgba(224,133,133,.12); }

.ligne{ display:flex; gap:10px; align-items:center; }
.ligne.item{ margin-top:8px; justify-content:space-between; }
.carte.login input{ margin-bottom:12px; }
.carte.login button{ width:100%; }

.tableau{ width:100%; border-collapse:collapse; padding:0; overflow:hidden; }
.tableau th, .tableau td{ text-align:left; padding:12px 14px; font-size:14px; }
.tableau thead th{ color:#9AA2AD; font-weight:500; border-bottom:1px solid rgba(255,255,255,.12); }
.tableau tbody tr + tr td{ border-top:1px solid rgba(255,255,255,.07); }

.lien{ color:#BFD7E8; text-decoration:none; }
.lien:hover{ text-decoration:underline; }
.puce{
  display:inline-block; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14); border-radius:999px;
  padding:3px 10px; font-size:13px; margin:2px 4px 2px 0;
}
.vide{ color:#5A616B; }
.vide-bloc{ color:#9AA2AD; }
.note{ color:#9AA2AD; font-size:13px; margin-top:10px; line-height:1.5; }
.erreur{ color:#E08585; font-size:13px; margin-bottom:10px; }
.bord-danger{ border-color:rgba(224,133,133,.35); }
code{ background:rgba(255,255,255,.08); padding:2px 6px; border-radius:6px; font-size:12px; }

/* ---- Disposition avec barre latérale (Creatio Hotel Care) ---- */
body.avec-sidebar{ display:flex; min-height:100vh; }
.sidebar{
  width:230px; flex-shrink:0;
  display:flex; flex-direction:column;
  padding:22px 14px;
  border-right:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.25);
  position:sticky; top:0; height:100vh;
}
.marque{ font-size:18px; font-weight:700; padding:4px 12px 18px; letter-spacing:.3px; }
.marque span{ color:#9AA2AD; font-weight:400; }
.sidebar nav{ display:flex; flex-direction:column; gap:4px; flex:1; }
.sidebar nav a{
  color:#C9CFD8; text-decoration:none;
  padding:10px 12px; border-radius:8px; font-size:14px;
}
.sidebar nav a:hover{ background:rgba(255,255,255,.06); color:#fff; }
.sidebar nav a.actif{ background:rgba(255,255,255,.10); color:#fff; font-weight:600; }
.sidebar .bientot{
  color:#5A616B; padding:10px 12px; font-size:14px;
  display:flex; justify-content:space-between; align-items:center; cursor:default;
}
.sidebar .bientot em{
  font-style:normal; font-size:10px; color:#9AA2AD;
  border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:1px 7px;
}
.deconnexion{ padding:10px 12px; font-size:13px; }
.contenu{ flex:1; padding:30px 36px 60px; max-width:980px; }

/* ---- Tableau de bord ---- */
.stats{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:18px; }
.carte.stat{ flex:1; min-width:160px; text-align:center; margin-bottom:0; }
.stat .chiffre{ font-size:34px; font-weight:700; }
.stat .legende{ color:#9AA2AD; font-size:13px; margin-top:4px; }
.raccourcis{ display:flex; gap:10px; flex-wrap:wrap; }
.bouton-lien{
  display:inline-block; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16); border-radius:8px;
  color:#F5F6F8; text-decoration:none; padding:9px 16px; font-size:14px;
}
.bouton-lien:hover{ background:rgba(255,255,255,.14); }
