:root{
  --bg0:#0a1020;
  --bg1:#0b1a2c;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --stroke:rgba(255,255,255,.08);
  --muted:rgba(255,255,255,.65);
  --text:#eaf0ff;
  --primary1:#3b82f6;
  --primary2:#8b5cf6;
  --danger:#ef4444;
  --warning:#f59e0b;
  --success:#22c55e;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  color:var(--text);
  background:
    radial-gradient(900px 500px at 30% 20%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(700px 450px at 70% 35%, rgba(139,92,246,.18), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit}
.small-muted{color:var(--muted)}

.topbar{
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  position:sticky;
  top:0;
  z-index:50;
}
.brand-badge{
  width:34px;height:34px;border-radius:10px;
  background: linear-gradient(135deg, var(--primary1), var(--primary2));
  display:grid;place-items:center;
}
.badge-pill{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:.25rem .6rem;
  border-radius:999px;
  font-weight:700;
  font-size:.75rem;
  display:inline-flex; align-items:center; gap:.35rem;
}
.btn-ghost{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color:var(--text);
}
.btn-ghost:hover{background:rgba(255,255,255,.06);color:var(--text)}
.btn-gradient{
  border:0;
  background: linear-gradient(135deg, var(--primary1), var(--primary2));
  color:white;
}
.btn-outline-danger2{
  border:1px solid rgba(239,68,68,.5);
  background: rgba(239,68,68,.06);
  color:#ffb4b4;
}
.btn-outline-danger2:hover{background: rgba(239,68,68,.12); color:white}

.card-glass{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.hero{padding: 22px 0 14px;}
.hero h1{font-size:2rem;font-weight:900;margin:0 0 .25rem}
.hero p{margin:0;color:var(--muted)}

.weekbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px}
.weeknav{display:flex;align-items:center;gap:10px}
.weeknav .navbtn{
  width:40px;height:40px;border-radius:10px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  display:grid;place-items:center;
  text-decoration:none;
}
.weekrange{
  padding:0 14px;height:40px;
  display:flex;align-items:center;
  border-radius:10px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.12);
  font-weight:800;
}

.seg{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.seg a{text-decoration:none}
.seg .segbtn{
  padding:.35rem .75rem;border-radius:10px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color:var(--text);
  display:flex;align-items:center;gap:8px;
  font-weight:800;font-size:.9rem;
}
.seg .segbtn.active{background: rgba(255,255,255,.09)}
.seg .dot{width:8px;height:8px;border-radius:50%}
.dot.caisse{background:#60a5fa}
.dot.cuisine{background:#fb923c}
.dot.livreur{background:#86efac}

.planning-wrap{overflow-x:hidden}
.planning-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout: fixed;
  min-width: 0;
}
.planning-table th,.planning-table td{min-width:0}
.planning-table th,.planning-table td{
  border-right:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
  padding:8px;
  vertical-align:top;
}
.planning-table thead th{
  position:sticky; top:0;
  background: rgba(5,10,18,.55);
  backdrop-filter: blur(10px);
  z-index:2;
}
.planning-table .datecol{
  width:130px;
  position:sticky; left:0;
  background: rgba(5,10,18,.55);
  backdrop-filter: blur(10px);
  z-index:3;
}
.subhead{font-size:.85rem;color:var(--muted);text-align:center;font-weight:800}

.pos-pill{
  display:inline-block;
  padding:.25rem .65rem;
  border-radius:999px;
  font-weight:900;
  font-size:.8rem;
}
.pos-pill.caisse{background: rgba(96,165,250,.18); color:#cfe7ff; border:1px solid rgba(96,165,250,.25)}
.pos-pill.cuisine{background: rgba(251,146,60,.18); color:#ffe2c9; border:1px solid rgba(251,146,60,.25)}
.pos-pill.livreur{background: rgba(134,239,172,.18); color:#d9ffe9; border:1px solid rgba(134,239,172,.25)}

.shift-card{
  border-radius:10px;
  padding:10px;
  border:1px solid rgba(255,255,255,.12);
  margin-bottom:8px;
}
.shift-card .name{display:flex;align-items:center;gap:8px;font-weight:900}
.shift-card .time{margin-top:2px;font-weight:900;font-size:.92rem}
.shift-card.caisse{background: rgba(96,165,250,.16); color:#cfe7ff}
.shift-card.cuisine{background: rgba(251,146,60,.16); color:#ffe2c9}
.shift-card.livreur{background: rgba(134,239,172,.16); color:#d9ffe9}
.shift-card.unassigned{background: rgba(255,255,255,.06); color:rgba(255,255,255,.85)}
/* --- Shift card actions (admin) --- */
.shift-card{ position: relative; }
.shift-card .top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.shift-card .actions{
  display:flex;
  align-items:center;
  gap:8px;
  transition: opacity .15s ease, transform .15s ease;
}
.shift-card .actions form{ display:inline-block; }

.icon-btn{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.icon-btn i{ font-size: 1.05rem; }
.icon-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
}
.icon-btn:active{ transform: translateY(0); }

.icon-btn.danger{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.10);
  color: rgba(254,202,202,.95);
}
.icon-btn.danger:hover{
  border-color: rgba(239,68,68,.55);
  background: rgba(239,68,68,.16);
}

/* Desktop: show actions on hover only (mobile keeps them visible) */
@media (hover:hover) and (min-width: 769px){
  .shift-card .actions{ opacity:0; transform: translateY(-2px); pointer-events:none; }
  .shift-card:hover .actions{ opacity:1; transform: translateY(0); pointer-events:auto; }
}

/* Mobile: larger tap targets */
@media (max-width: 1100px){
  .desktop-only{display:none}
  .mobile-only{display:block}
}

@media (max-width: 768px){
  .icon-btn{ width:40px; height:40px; border-radius:14px; }
  .icon-btn i{ font-size: 1.15rem; }
}


.mobile-only{display:none}
.desktop-only{display:block}

@media (max-width: 768px){
  .desktop-only{display:none}
  .mobile-only{display:block}
  .weekbar{flex-direction:column;align-items:stretch}
  .seg{justify-content:flex-start}
  .hero h1{font-size:1.7rem}
}

.mobile-day{
  padding:12px 14px;
  border-top:1px solid var(--stroke);
}
.mobile-day:first-child{border-top:0}
.dayhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.dayhead .d{font-weight:900}
.mobile-cols{
  margin-top:10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.kpi{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius:12px;
  padding:10px;
}
.kpi .k{font-weight:900}
.kpi .sub{color:var(--muted); font-weight:800; font-size:.85rem}
.kpi .empty{color:var(--muted); font-size:.9rem}

.form-control,.form-select{
  background: rgba(255,255,255,.03) !important;
  border:1px solid var(--stroke) !important;
  color:var(--text) !important;
}
.form-control::placeholder{color:rgba(255,255,255,.45)}
.modal-content{
  background: rgba(10,18,32,.96);
  border:1px solid var(--stroke);
  color:var(--text);
}
.table-darkish{
  background: rgba(255,255,255,.03);
  border:1px solid var(--stroke);
  border-radius:16px;
  overflow:hidden;
}
.table-darkish th,.table-darkish td{border-color: var(--stroke) !important}

.shift-card .top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.shift-card .actions{display:flex;gap:6px}
.shift-card .icon-btn{border:0;background:transparent;color:inherit;opacity:.85;padding:2px 4px;border-radius:8px}
.shift-card .icon-btn:hover{opacity:1;background:rgba(255,255,255,.08)}
.shift-card .icon-btn.danger{color:#ff6b6b}


/* Prevent long names/labels from forcing horizontal scroll */
.shift-card, .shift-card *{ min-width:0; }
.shift-card .name{ flex-wrap:wrap; }
.shift-card .name .t, .shift-card .time{ word-break:break-word; overflow-wrap:anywhere; }


/* --- Override legacy icon-btn inside shift cards (keep theme) --- */
.shift-card .icon-btn{
  width:34px;height:34px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity:1;
}
.shift-card .icon-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
}
.shift-card .icon-btn:active{ transform: translateY(0); }
.shift-card .icon-btn.danger{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.10);
  color: rgba(254,202,202,.95);
}
.shift-card .icon-btn.danger:hover{
  border-color: rgba(239,68,68,.55);
  background: rgba(239,68,68,.16);
}
@media (max-width: 768px){
  .shift-card .icon-btn{ width:40px;height:40px;border-radius:14px; }
}


/* --- Unavailability calendar --- */
.calendar-card{ padding: 14px; }
.cal-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom: 10px; }
.cal-title{ font-weight: 800; letter-spacing: .2px; text-align:center; flex:1; }
.cal-nav{ width:40px;height:40px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); display:inline-flex; align-items:center; justify-content:center; }
.cal-nav:hover{ background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); transform: translateY(-1px); }
.cal-nav:active{ transform: translateY(0); }

.cal-grid{ display:grid; grid-template-columns: repeat(7, 1fr); gap:8px; }
.cal-dow{ font-size: .78rem; color: rgba(255,255,255,.62); text-align:center; padding: 6px 0; user-select:none; }
.cal-day{ height: 44px; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); color: rgba(255,255,255,.88); display:flex; align-items:center; justify-content:center; user-select:none; cursor:pointer; position: relative; overflow:hidden; }
.cal-day:hover{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.cal-day.is-out{ opacity:.25; cursor:default; }
.cal-day.is-disabled{ opacity:.35; cursor:not-allowed; }
.cal-day.is-weeklock{ opacity:.35; cursor:not-allowed; border-style:dashed; border-color: rgba(255,255,255,.26); }
.cal-day.is-selected{ background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.55); box-shadow: 0 10px 24px rgba(59,130,246,.12); }
.cal-day.is-pending{ background: rgba(234,179,8,.14); border-color: rgba(234,179,8,.45); }
.cal-day.is-approved{ background: rgba(239,68,68,.14); border-color: rgba(239,68,68,.45); }
.cal-day.is-rejected{ background: rgba(255,255,255,.05); border-style: dashed; border-color: rgba(255,255,255,.28); }

.cal-legend{ display:flex; flex-wrap:wrap; gap: 12px 18px; margin-top: 12px; font-size: .82rem; color: rgba(255,255,255,.75); }
.leg{ display:flex; align-items:center; gap:8px; }
.dot{ width:10px;height:10px;border-radius:4px; border:1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.dot.sel{ background: rgba(59,130,246,.30); border-color: rgba(59,130,246,.65); }
.dot.pen{ background: rgba(234,179,8,.26); border-color: rgba(234,179,8,.55); }
.dot.app{ background: rgba(239,68,68,.26); border-color: rgba(239,68,68,.55); }
.dot.rej{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.30); border-style:dashed; }
.dot.wk { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.30); border-style:dashed; }

.selected-preview{ margin-top: 10px; padding: 10px 12px; border-radius: 16px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); color: rgba(255,255,255,.82); }
.selected-preview strong{ color: rgba(255,255,255,.95); }


/* --- Unavailability history styling --- */
.card-glass .empty{
  min-height: 220px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  padding: 16px;
  text-align:center;
}
.card-glass .empty .icon{
  width:56px;height:56px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  font-size: 26px;
}

.card-glass .list{ display:flex; flex-direction:column; gap:10px; }
.card-glass .rowline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.card-glass .hist-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.badge.badge-yellow{
  border:1px solid rgba(234,179,8,.45);
  background: rgba(234,179,8,.12);
  color: rgba(253,230,138,.95);
}
.badge.badge-green{
  border:1px solid rgba(239,68,68,.45);
  background: rgba(239,68,68,.12);
  color: rgba(254,202,202,.95);
}
.badge.badge-gray{
  border:1px dashed rgba(255,255,255,.28);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
}
/* Week lock (current week) clearly different */
.cal-day.is-weeklock{
  opacity:.45;
  cursor:not-allowed;
  border-style:dashed;
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.02);
}
@media (max-width: 768px){
  .card-glass .rowline{ flex-direction:column; }
  .card-glass .hist-right{ width:100%; justify-content:space-between; }
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}



/* --- Unavailability indicators (planning) --- */
.unav-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;height:18px;
  margin-left:8px;
  border-radius: 999px;
  background: rgba(239,68,68,.16);
  border: 1px solid rgba(239,68,68,.45);
  color: rgba(254,202,202,.95);
  box-shadow: 0 10px 24px rgba(239,68,68,.10);
  flex-shrink:0;
}
.unav-badge i{ font-size: 12px; }

.warn-glass{
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(239,68,68,.30);
  background: rgba(239,68,68,.10);
  color: rgba(254,202,202,.95);
  font-size: .9rem;
}

.ua-week{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.ua-day{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  padding: 10px;
  min-width: 0;
}
.ua-date{
  font-weight: 800;
  margin-bottom: 8px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  color: rgba(255,255,255,.92);
}
.ua-sub{ font-weight: 600; color: rgba(255,255,255,.55); font-size: .82rem; }
.ua-none{ color: rgba(255,255,255,.35); padding: 8px 6px; }
.ua-list{ display:flex; flex-direction:column; gap:8px; }
.ua-item{
  border-radius: 16px;
  padding: 10px 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  min-width:0;
}
.ua-item.ua-app{ border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.08); }
.ua-item.ua-pen{ border-color: rgba(234,179,8,.35); background: rgba(234,179,8,.07); }
.ua-name{ font-weight: 800; line-height: 1.15; }
.ua-meta{ margin-top: 6px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ua-badge{
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  white-space: nowrap;
}
.ua-item.ua-app .ua-badge{
  border-color: rgba(239,68,68,.45);
  background: rgba(239,68,68,.12);
  color: rgba(254,202,202,.95);
}
.ua-item.ua-pen .ua-badge{
  border-color: rgba(234,179,8,.45);
  background: rgba(234,179,8,.12);
  color: rgba(253,230,138,.95);
}
.ua-note{ color: rgba(255,255,255,.70); font-size: .82rem; overflow-wrap:anywhere; }

@media (max-width: 1100px){
  .ua-week{ grid-template-columns: 1fr; }
  .ua-day{ padding: 12px; }
}

.unav-badge.pending{
  background: rgba(234,179,8,.16);
  border: 1px solid rgba(234,179,8,.45);
  color: rgba(253,230,138,.95);
  box-shadow: 0 10px 24px rgba(234,179,8,.10);
}
.warn-glass.pending{
  border-color: rgba(234,179,8,.35);
  background: rgba(234,179,8,.08);
  color: rgba(253,230,138,.92);
}


/* --- Weekly unavailability section (public) --- */
.unav-week-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 1300px){
  .unav-week-grid{ grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
.unav-day{
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  min-width: 0;
}
.unav-day-title{
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: 10px;
}
.unav-day-title .muted{ color: rgba(255,255,255,.55); font-weight: 700; margin-left:6px; }

.unav-list{ display:flex; flex-direction:column; gap:8px; }

/* Each person row */
.unav-person{
  display:grid;
  grid-template-columns: 28px 1fr 10px;
  align-items:center;
  gap:10px;
  min-width:0;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.unav-person:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
.unav-person .av{
  width:28px;height:28px;border-radius: 12px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-weight: 900;
  font-size: .85rem;
}
/* Name should be fully visible (wrap), status uses small symbol (dot) */
.unav-person .n{
  min-width:0;
  font-weight: 900;
  font-size: .95rem;
  color: rgba(255,255,255,.94);
  line-height: 1.15;
  white-space: normal;
  overflow: visible;
}
.unav-person .st{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  justify-self:end;
}
.unav-person .st.pen{
  background: rgba(234,179,8,.65);
  border-color: rgba(234,179,8,.75);
  box-shadow: 0 8px 18px rgba(234,179,8,.18);
}
.unav-person .st.app{
  background: rgba(239,68,68,.65);
  border-color: rgba(239,68,68,.75);
  box-shadow: 0 8px 18px rgba(239,68,68,.18);
}

@media (max-width: 900px){
  .unav-week-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .unav-week-grid{ grid-template-columns: 1fr; }
  .unav-person{ padding: 10px 12px; }
  .unav-person .n{ font-size: 1.0rem; }
}


/* --- Dropdown option colors (improve readability) --- */
select option, select optgroup{
  color: #0b0f19 !important;
  background: #ffffff !important;
}


/* --- Highlight today in planning --- */
.planning-table tr.is-today td{
  background: rgba(59,130,246,.06);
}
.planning-table tr.is-today td.datecol{
  background: rgba(59,130,246,.12);
  border-left: 2px solid rgba(59,130,246,.55);
}
.planning-table tr.is-today td .small-muted{
  color: rgba(255,255,255,.80);
}
.mobile-day.is-today{
  border: 1px solid rgba(59,130,246,.45);
  box-shadow: 0 18px 40px rgba(59,130,246,.10);
  background: linear-gradient(180deg, rgba(59,130,246,.10), rgba(255,255,255,.03));
}
.mobile-day.is-today .dayhead .d{
  color: rgba(255,255,255,.96);
}


/* Inactive employee row */
tr.is-inactive td{
  opacity: .6;
}
tr.is-inactive td .btn{
  opacity: 1;
}


/* Glass modal */
.modal-content.glass{
  background: rgba(17,24,39,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  color: rgba(255,255,255,.92);
}
.modal-content.glass .modal-header,
.modal-content.glass .modal-footer{
  border-color: rgba(255,255,255,.10);
}
.modal-content.glass .btn-close{
  filter: invert(1);
  opacity: .85;
}


/* Announcement banner (message à tous) */
.announce-banner{
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(245,158,11,.16), rgba(255,255,255,.03));
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  display:flex;
  align-items:flex-start;
  gap: 10px;
}
.announce-banner .ic{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.35);
  flex: 0 0 auto;
}
.announce-banner .txt{
  min-width:0;
  flex:1 1 auto;
  color: rgba(255,255,255,.92);
  font-weight: 800;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.25;
}
.announce-banner .meta{
  margin-top: 4px;
  font-weight: 600;
  color: rgba(255,255,255,.70);
  font-size: .80rem;
}


/* Fix iOS/Safari focus issues inside blurred glass cards */
.no-blur{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


/* Force interaction on Admin -> Message à tous (some Safari/iOS builds can block textarea focus under blur layers) */






/* message page text color fix (Windows + dark theme) */






/* Admin message page minimal fix v58 */
.page-admin-message-php .ann-page-root .card-glass{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.page-admin-message-php #annText{
  color: rgba(255,255,255,.92) !important;
  -webkit-text-fill-color: rgba(255,255,255,.92) !important;
  caret-color: rgba(255,255,255,.92) !important;
}
.page-admin-message-php #annText::placeholder{
  color: rgba(255,255,255,.45) !important;
}


/* Password show/hide button */
.input-group .btn.btn-ghost{
  border: 1px solid var(--stroke);
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width: 44px;
}
.input-group .form-control{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
