/* =============== Reset =============== */
*{ box-sizing:border-box; }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#f3f4f6;
  color:#111827;
}
a{ color:#4F46E5; text-decoration:none; }
a:hover{ text-decoration:underline; }
button,input,select{ font:inherit; }
:root, body{ color-scheme: light; }
input,select,textarea,button{ color-scheme: light; }

/* =============== Header =============== */
.app-header{
  background:linear-gradient(135deg,#4F46E5 0%,#4338CA 100%);
  color:#fff; padding:16px 20px; animation:fadeInDown .4s ease-out;
}
.app-header h1{ margin:0; font-size:20px; color:#fff; }
.app-header .app-nav{ display:flex; gap:12px; flex-wrap:wrap; }
.app-header .app-nav a{
  position:relative; color:rgba(255,255,255,.95); font-weight:600;
  text-decoration:none; transition:transform .18s ease,color .18s ease;
}
.app-header .app-nav a:hover{ transform:translateY(-1px) scale(1.06); color:#fff; }
.app-header .app-nav a::after{
  content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px;
  background:rgba(255,255,255,.9); transition:width .22s ease-in-out;
}
.app-header .app-nav a:hover::after{ width:100%; }
.page-nav a{ color:#0d47a1; text-decoration:none; font-weight:500; }
.page-nav a:hover{ color:#1e3a8a; text-decoration:underline; }
@keyframes fadeInDown{ from{opacity:0; transform:translateY(-8px);} to{opacity:1; transform:translateY(0);} }

/* =============== Layout & Cards =============== */
.app-main{ max-width:1800px; margin:24px auto; padding:0 16px; }
.card{
  background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:20px;
  box-shadow:0 4px 16px rgba(17,24,39,.06); max-width:1800px; margin:0 auto;
}
.card-hebdo-cal{
  background:#1b3f64; border:1px solid #e5e7eb; border-radius:12px; padding:20px;
  box-shadow:0 4px 16px rgba(17,24,39,.06); max-width:1800px; margin:0 auto;
}
.card-code,
.card-categories,
.card-filtrecode{
  background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:20px;
  box-shadow:0 4px 16px rgba(17,24,39,.06); max-width:1800px; margin:0 auto;
}
.card-filtrecode{ background:#d8d5ff; }
.card-code{ background:#d8d5ff; }
.app-footer{ text-align:center; padding:20px; color:#6b7280; }

/* =============== Week selector =============== */
.week-selector{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.week-selector label{ font-weight:600; color:#374151; white-space:nowrap; }
.week-selector input[type="date"],
.week-selector input[name="date"],
.week-selector input[name="week_start"]{
  min-width:160px; padding:8px 12px; border:1px solid #d1d5db; border-radius:10px; font-size:15px; background:#fff;
}
.week-selector .btn{ padding:8px 14px; border-radius:10px; }

/* =============== Auth =============== */
.auth-wrap{ max-width:980px; margin:24px auto 40px; padding:0 16px; }
.auth-hero{
  background:linear-gradient(135deg,#4F46E5 0%,#7C3AED 100%);
  color:#fff; border-radius:16px; padding:28px 22px;
  box-shadow:0 8px 24px rgba(79,70,229,.22);
  display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:40px;
}
.auth-hero h2{ margin:0 0 6px; font-size:22px; line-height:1.25; }
.auth-hero p{ margin:0; opacity:.95; }
.auth-hero ul{ margin:10px 0 0; padding-left:18px; }
.auth-hero li{ margin:2px 0; }
.auth-card{ max-width:520px; margin:0 auto; padding:22px; border-radius:14px; border:1px solid #e5e7eb; background:#fff; box-shadow:0 6px 22px rgba(17,24,39,.08); }
.tabs{ display:flex; gap:8px; justify-content:center; margin-bottom:14px; flex-wrap:wrap; }
.tab-btn{ padding:8px 12px; border-radius:10px; border:1px solid #e5e7eb; background:#f8fafc; cursor:pointer; }
.tab-btn[aria-selected="true"]{ background:#111827; color:#fff; border-color:#111827; }
.form .field{ display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.form label{ font-weight:600; font-size:14px; color:#374151; }
.form input{ padding:10px 12px; border:1px solid #e5e7eb; border-radius:10px; }
.form .btn{ width:100%; padding:10px 12px; border-radius:10px; }
.auth-card .alert{ margin-bottom:12px; }

/* =============== Tables =============== */
.table{ width:100%; border-collapse:collapse; font-size:15px; }
.table thead th{ font-weight:600; color:#374151; background:#f8fafc; position:sticky; top:0; z-index:2; }
.table th,.table td{ padding:12px 10px; border-bottom:1px solid #eef2f7; vertical-align:middle; }
.table tbody tr:hover{ background:#fafafa; }

/* =============== Pills & badges =============== */
.pill{ display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; border:1px solid transparent; line-height:1; font-size:13px; }
.badge{ padding:3px 8px; border-radius:999px; font-size:12px; border:1px solid transparent; }
.badge-ok{ background:#ecfdf5; border-color:#a7f3d0; color:#065f46; }
.badge-off{ background:#fff1f2; border-color:#fecdd3; color:#9f1239; }
.badge-role{ background:#eef2ff; border-color:#c7d2fe; color:#3730a3; }
.badge-role.admin{ background:#fef2f2; border-color:#fecaca; color:#991b1b; }
.badge-role.chefcote{ background:#fffbeb; border-color:#fde68a; color:#7c2d12; }
.badge-role.agent{ background:#eff6ff; border-color:#bfdbfe; color:#1e40af; }
.pill-service{ background:#eef2ff; border-color:#c7d2fe; color:#1e3a8a; }
.pill-chef{ background:#fffbeb; border-color:#fcd34d; color:#7c2d12; }

/* =============== Inline forms =============== */
.inline-form{ display:flex; gap:8px; align-items:center; }
.inline-form .btn{ padding:6px 10px; font-size:13px; }
.inline-form select,.inline-form .select{
  padding:8px 10px; font-size:14px; border:1px solid #e5e7eb; border-radius:10px; background:#fff;
}

/* =============== Buttons =============== */
a.btn, a.btn-ghost, a.btn-muted, a.btn-ghost-HS{ text-decoration:none; }
.btn{
  --btn-bg:#4F46E5; --btn-color:#fff;
  padding:10px 14px; border-radius:12px; background:var(--btn-bg); color:var(--btn-color);
  border:none; cursor:pointer; font-weight:600; letter-spacing:.2px;
  transition:background-color .18s ease, transform .06s ease, box-shadow .18s ease;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.btn:hover{ filter:brightness(0.96); }
.btn:active{ transform:translateY(1px); }
.btn:focus-visible{ outline:3px solid rgba(99,102,241,.35); outline-offset:2px; }

.btn-primary{ --btn-bg:#4F46E5; --btn-color:#fff; }
.btn-success{ --btn-bg:#10b981; --btn-color:#fff; border:1px solid #0ea371; }
.btn-danger { --btn-bg:#ef4444; --btn-color:#fff; border:1px solid #dc2626; }
.btn-warning{ --btn-bg:#9ca3af; --btn-color:#fff; border:1px solid #6b7280; }
.btn-dark   { --btn-bg:#374151; --btn-color:#fff; border:1px solid #1f2937; }

.btn-ghost{
  background:#F3F4F6; color:#111827; border:1px solid #E5E7EB; border-radius:12px;
  padding:8px 12px; font-weight:600; transition:background .18s ease,border-color .18s ease;
}
.btn-ghost:hover{ background:#E5E7EB; }

.btn-muted{
  background:#E5E7EB; color:#374151; border:1px solid #D1D5DB; border-radius:12px;
  padding:8px 12px; font-weight:600;
}
.btn-muted:hover{ background:#DDE1E6; }

.btn-ghost-HS{
  background:#EEF2FF; color:#3730A3; border:1px solid #C7D2FE; border-radius:12px;
  padding:8px 12px; font-weight:600;
}
.btn-ghost-HS:hover{ background:#E0E7FF; }

.btn-hand{ padding:10px 14px; border-radius:12px; background:#000; color:#fff; border:none; cursor:pointer; font-weight:600; letter-spacing:.2px; transition:background-color .18s ease, transform .06s ease, box-shadow .18s ease; box-shadow:0 2px 6px rgba(0,0,0,.25); }
.btn-xlsx{ padding:10px 14px; border-radius:12px; background:#0c940c; color:#fff; border:none; cursor:pointer; font-weight:600; letter-spacing:.2px; transition:background-color .18s ease, transform .06s ease, box-shadow .18s ease; box-shadow:0 2px 6px rgba(12,148,12,.25); }
.btn-pdf { padding:10px 14px; border-radius:12px; background:#e94307; color:#fff; border:none; cursor:pointer; font-weight:600; letter-spacing:.2px; transition:background-color .18s ease, transform .06s ease, box-shadow .18s ease; box-shadow:0 2px 6px rgba(233,67,7,.25); }

.btn-export{
  background:linear-gradient(145deg,#2E7D32,#1E6B2A);
  color:#fff; font-weight:700; border:none; border-radius:12px; padding:10px 16px;
  cursor:pointer; transition:all .2s ease-in-out; box-shadow:0 3px 10px rgba(46,125,50,.25);
}
.btn-export:hover{ background:linear-gradient(145deg,#27672B,#195A26); transform:translateY(-1px); }
.btn-export:active{ transform:translateY(0); box-shadow:inset 0 2px 4px rgba(0,0,0,.2); }

/* =============== Text utils =============== */
.user-name{ font-weight:600; }
.subtle{ color:#6b7280; font-size:12px; }

/* =============== Flash messages =============== */
.alert{
  position:relative;
  margin:8px auto;
  padding:12px 40px 12px 18px;
  border-radius:8px;
  max-width:1200px;
  font-weight:500;
  box-shadow:0 1px 4px rgba(0,0,0,.1);
  line-height:1.5;
  border-left:5px solid transparent;
}
.alert.success { background:#e6f9ec; color:#056d28; border-left-color:#1b9e48; }
.alert.error   { background:#fde8e8; color:#a30000; border-left-color:#c00; }
.alert.warn,
.alert.warning { background:#fff5e0; color:#8a5600; border-left-color:#e6a700; }
.alert.info    { background:#eaf4ff; color:#084c91; border-left-color:#1b74d1; }
.alert .alert-close{
  position:absolute; top:6px; right:8px;
  width:28px; height:28px; border:none; border-radius:6px;
  background:rgba(0,0,0,.07); color:#333; font-size:18px; font-weight:700;
  cursor:pointer; line-height:1;
}
.alert .alert-close:hover{ background:rgba(0,0,0,.15); }

/* =============== Week form (édition agent) =============== */
.week-grid{
  display:grid; gap:16px; width:100%; margin:0 auto;
  grid-template-columns: repeat(5, minmax(260px, 1fr));
}
@media (max-width:1400px){ .week-grid{ grid-template-columns: repeat(4, minmax(260px,1fr)); } }
@media (max-width:1100px){ .week-grid{ grid-template-columns: repeat(3, minmax(260px,1fr)); } }
@media (max-width:780px){  .week-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:520px){  .week-grid{ grid-template-columns: 1fr; } }

.day-card{ display:flex; flex-direction:column; min-width:0; padding:12px; margin:0; height:100%; }
.day-header{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:6px; }
.day-title{ font-weight:700; }
.day-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.btn-xs{ padding:6px 10px; border-radius:10px; font-size:12px; font-weight:700; }
/* .btn-ghost-hs{ background:#EEF2FF; border:1px solid #C7D2FE; color:#3730A3; } */
/* .btn-ghost-hs:hover{ background:#E0E7FF; } */
.hs-form{ display:none; margin:8px 0 0; gap:8px; align-items:center; flex-wrap:wrap; }
.hs-form.is-open{ display:flex; }
.hs-form input[type="number"]{ width:140px; }
.hs-form .btn-xs{ font-weight:600; }
.week-grid--seven{ grid-template-columns:repeat(7, minmax(0, 1fr)); }
.day-box{ display:flex; flex-direction:column; gap:8px; flex:1; }
#weekForm .day-header{ display:flex; justify-content:space-between; align-items:center; gap:8px; }
#weekForm .day-header > *{ min-width:0; }
.wish-line{ display:flex; align-items:center; gap:8px; white-space:nowrap; }
.wish-text{ font-size:12px; max-width:240px; overflow:hidden; text-overflow:ellipsis; }
.wish-actions{ display:inline-flex; gap:6px; margin-left:6px; vertical-align:middle; }
.btn-icon{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; padding:0; border:0; background:transparent; cursor:pointer; line-height:1; font-size:15px; border-radius:6px; color:#B91C1C; }
.btn-icon:hover{ background:#FEE2E2; }


/* Bouton HS */
.btn-hs {
    background: #ecfc3c;     /* violet */
    color: white;
    border-radius: 6px;
    padding: 4px 10px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
}

.btn-hs:hover {
    background: #beb61a;
}

/* Bouton HS (utilisé dans agent_wishes_week) */
.btn-ghost-hs{
    background:#ecfc3c;          /* fond jaune fluo par ex. */
    border:1px solid #beb61a;
    color:#1f2933;
    border-radius:6px;
    padding:4px 10px;
    font-weight:600;
}

.btn-ghost-hs:hover{
    background:#beb61a;
    color:#111827;
}


@media (max-width:992px){ .week-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); } }
@media (max-width:720px){ .week-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:480px){
  .week-grid{ grid-template-columns:1fr; }
  .wish-text{ max-width:none; }
}

/* =============== Dashboard header (3 cartes) =============== */
.epi-wrap{
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:12px; margin-bottom:16px; align-items:stretch;
}
@media (max-width:1100px){
  .epi-wrap{ grid-template-columns:1.4fr 1fr; }
  .epi-wrap .epi-card.export-card{ grid-column:2/3; }
}
@media (max-width:860px){
  .epi-wrap{ grid-template-columns:1fr; }
  .epi-wrap .epi-card.export-card{ grid-column:auto; }
}
.epi-card{
  border:1px solid #e5e7eb; border-radius:14px; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.06); padding:12px;
}
.epi-card-date{
  border:1px solid #e5e7eb; border-radius:14px; background:#fff; color:#000; box-shadow:0 2px 10px rgba(0,0,0,.06); padding:12px;
}
.epi-title{ display:flex; align-items:center; gap:8px; margin:0 0 6px; }
.epi-badges{ display:flex; flex-direction:column; gap:8px; }
.epi-badge{
  display:flex; align-items:center; gap:8px; border:1px solid #e5e7eb; border-radius:999px;
  padding:6px 10px; background:#f9fafb; color:inherit; text-decoration:none;
}
.epi-badge .badge-fill{ font-weight:700; }
.epi-badge .badge-actions{ margin-left:auto; display:inline-flex; gap:6px; }
.btn-compact{
  padding:4px 10px; border-radius:8px; font-size:12px; font-weight:600; border:none; cursor:pointer; transition:all .2s ease;
}
.epi-badge:first-child .btn-compact{ background:#10b981; color:#fff; }
.epi-badge:first-child .btn-compact:hover{ background:#0ea371; }
.epi-badge:nth-child(2) .btn-compact{ background:#3b82f6; color:#fff; }
.epi-badge:nth-child(2) .btn-compact:hover{ background:#2563eb; }
.epi-badge:nth-child(3) .btn-compact{ background:#ef4444; color:#fff; }
.epi-badge:nth-child(3) .btn-compact:hover{ background:#dc2626; }

/* =============== News ticker =============== */
.news-panel{ margin:12px 0 16px; overflow:hidden; }
.news-header{
  display:flex; align-items:center; gap:8px;
  padding:8px 10px; background:#fff; border:1px solid #eef0f3; border-radius:10px;
  font-weight:600; color:#111827;
}
.news-header .dot{ width:8px; height:8px; border-radius:999px; background:#10b981; display:inline-block; }
.ticker2{ --gap:28px; --speed:40s; position:relative; overflow:hidden; border:1px solid #eef0f3; border-radius:14px; background:#f9fafb; padding:10px 0; }
.ticker2__track{ display:inline-flex; align-items:center; gap:var(--gap); white-space:nowrap; width:max-content; animation:ticker2-scroll var(--speed) linear infinite; will-change: transform; padding-left:var(--gap); }
.ticker2__item{ flex:0 0 auto; display:inline-flex; align-items:center; gap:10px; padding:8px 12px; background:#fff; border:1px solid #e5e7eb; border-radius:999px; box-shadow:0 1px 0 rgba(0,0,0,.03); }
.ticker2__item .emoji{ opacity:.85; }
.ticker2__item .title{ font-weight:700; color:#111827; }
.ticker2__item .body{ color:#6b7280; }
.ticker2__item .btn.mini{ padding:4px 8px; font-size:12px; border-radius:10px; margin-left:8px; }
.ticker2:hover .ticker2__track{ animation-play-state: paused; }
.ticker2::before, .ticker2::after{ content:""; position:absolute; top:0; bottom:0; width:48px; pointer-events:none; }
.ticker2::before{ left:0;  background:linear-gradient(90deg,#f9fafb 0%,rgba(249,250,251,0) 100%); }
.ticker2::after { right:0; background:linear-gradient(270deg,#f9fafb 0%,rgba(249,250,251,0) 100%); }
@keyframes ticker2-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (max-width:720px){
  .ticker2{ --gap:18px; --speed:32s; }
  .ticker2__item{ padding:6px 10px; }
}

/* =============== Team week calendar (lecture) =============== */
.week-cal{ overflow:auto; }
.week-cal table{ width:100%; border-collapse:collapse; table-layout:fixed; }
.week-cal thead th{ background:#f8fafc; border-bottom:1px solid #e5e7eb; padding:10px; font-weight:600; }
.week-cal th,.week-cal td{ border-bottom:1px solid #eef2f7; vertical-align:top; }
.week-cal th.agent-col{ width:220px; position:sticky; left:0; background:#fff; z-index:1; }
.week-cal .day-head small{ display:block; color:#6b7280; font-weight:400; }
.week-cal .cell{ padding:8px; min-height:64px; }
.week-cal .cell-list{ display:flex; flex-direction:column; gap:6px; max-height:160px; overflow:auto; }
.week-cal .who{ display:flex; align-items:center; gap:6px; padding:8px 10px; font-weight:600; }
.week-cal .who small{ display:block; font-weight:400; color:#6b7280; }
.week-cal .no-data{ color:#9ca3af; font-size:12px; }
/* souhaits */
.week-cal .pill-wish{
  display:flex; justify-content:space-between; align-items:center;
  gap:8px; padding:6px 10px; border:1px solid #000; border-radius:999px; background:#1e5e6e; font-size:12px; line-height:1.2; color:#F3F4F6;
}
.week-cal .pill-wish .wish-main{ font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:1; min-width:0; }
.week-cal .status-dot{ width:7px; height:7px; border-radius:50%; display:inline-block; flex-shrink:0; margin-left:4px; }
.week-cal .status-dot.status-wait{ background:#9ca3af; }
.week-cal .status-dot.status-ko{   background:#ef4444; }
.st-ok{   background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; }
.st-wait{ background:#f3f4f6; border:1px solid #e5e7eb; color:#374151; }
.st-ko{   background:#fff1f2; border:1px solid #fecdd3; color:#9f1239; }
.week-cal .st-abs{ background:#374151; color:#fff; border-color:#1f2937; font-weight:600; }
.week-cal .st-abs .pill-status{ color:rgba(255,255,255,.9); }
.week-cal td.cell-weekend, .week-cal td.cell-holiday{ background:#f3f4f6; border-color:#e5e7eb; }
th.weekend, th.holiday{ background:#f9fafb; color:#6b7280; }
col.weekend-col, col.holiday-col{ background:#fafafa; }
.week-cal .pill-wish.st-ok{  background:#ecfdf5 !important; border-color:#a7f3d0 !important; color:#065f46 !important; }
.week-cal .pill-wish.st-ko{  background:#fff1f2 !important; border-color:#fecdd3 !important; color:#9f1239 !important; }
.week-cal .pill-wish.st-wait{background:#f3f4f6 !important; border-color:#e5e7eb !important; color:#374151 !important; }

/* sur carte sombre : 1re colonne collante assortie */
.card-hebdo-cal .week-cal{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
}
.card-hebdo-cal .week-cal table{
  border-collapse:separate; border-spacing:0; min-width:780px;
}
.card-hebdo-cal th.agent-col,
.card-hebdo-cal td.agent-col{
  position:sticky; left:0; z-index:3; background:#1b3f64; color:#fff;
}
.card-hebdo-cal th.weekend,
.card-hebdo-cal th.holiday{ z-index:1; }

/* =============== Filters (codes) =============== */
.code-filter-bar{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding:10px 12px; margin:10px 0 14px; background:#f8fafc; border:1px solid #e5e7eb; border-radius:12px;
}
.code-filter-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.code-filter-bar .chip{
  display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border:1px solid #e5e7eb; border-radius:999px; background:#fff; cursor:pointer; user-select:none;
}
.code-filter-bar .chip input{ margin:0; }

/* =============== Actions tableau des codes =============== */
.actions-cell{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.actions-cell form{ margin:0; display:inline-flex; }
.btn-approve{ background:#10b981; color:#fff; border:1px solid #0ea371; padding:6px 14px; border-radius:8px; font-weight:500; cursor:pointer; transition:background .2s; }
.btn-approve:hover{ background:#0ea371; }

/* =============== Impersonation banner =============== */
.impersonation-banner{
  background:linear-gradient(90deg,#fff7e6 0%,#fff3cd 100%);
  color:#4a3f0b; border:1px solid #ffe69c; border-left:6px solid #f0c44a; border-radius:12px;
  padding:14px 18px; margin:14px 16px; display:flex; align-items:center; justify-content:space-between; gap:16px;
  box-shadow:0 2px 6px rgba(0,0,0,.05); animation:fadeInImpersonation .35s ease-in-out;
}
.impersonation-text{ flex:1; font-size:15px; line-height:1.5; }
.impersonation-text em{ font-style:normal; color:#7b6a19; font-weight:500; }
.impersonation-agent{ color:#4F46E5; font-weight:700; }
.impersonation-chef{ color:#7C3AED; font-weight:700; }
.btn-exit-impersonation{
  background:#DC2626; color:#fff; font-weight:700; border:none; border-radius:10px; padding:8px 14px; cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.1); transition:background .25s, transform .1s;
}
.btn-exit-impersonation:hover{ background:#B91C1C; transform:translateY(-1px); }
@keyframes fadeInImpersonation{ from{opacity:0; transform:translateY(-8px);} to{opacity:1; transform:translateY(0);} }
@media (max-width:720px){
  .impersonation-banner{ flex-direction:column; align-items:flex-start; }
  .btn-exit-impersonation{ align-self:flex-end; margin-top:8px; }
}

/* =============== Misc =============== */
.codes-scroll-window{ max-height:520px; overflow:auto; border:1px solid #e5e7eb; border-radius:12px; background:#fff; box-shadow:inset 0 1px 0 rgba(0,0,0,.02); }
.codes-scroll-window .table thead th{ position:sticky; top:0; z-index:2; background:#f8fafc; border-bottom:1px solid #e5e7eb; }
.btn-ico{ display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; padding:0; border-radius:8px; background:#f3f4f6; border:1px solid #e5e7eb; cursor:pointer; }
.btn-ico:hover{ background:#e5e7eb; }
.pill-wish.is-hidden{ display:none !important; }

/* =============== Filtres de souhaits =============== */
.filter-toggles .toggle-btn{
  padding:6px 10px; border-radius:10px; border:1px solid #e5e7eb; background:#f3f4f6; color:#374151; font-weight:600; cursor:pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .05s;
}
.filter-toggles .toggle-btn:active{ transform:translateY(1px); }
.filter-toggles .toggle-btn:focus-visible{ outline:3px solid rgba(99,102,241,.35); outline-offset:2px; }
.filter-toggles .toggle-btn[aria-pressed="true"]{ color:#fff; border-color:transparent; }
.filter-toggles .toggle-btn[data-target=".st-ok"][aria-pressed="true"]{   background:#10b981; }
.filter-toggles .toggle-btn[data-target=".st-ko"][aria-pressed="true"]{   background:#ef4444; }
.filter-toggles .toggle-btn[data-target=".st-wait"][aria-pressed="true"]{ background:#9ca3af; }
.filter-toggles .toggle-btn[data-target=".st-abs"][aria-pressed="true"]{  background:#374151; }
.filter-toggles .toggle-btn[aria-pressed="true"]:hover{ filter:brightness(.95); }
.filter-toggles .toggle-btn[aria-pressed="false"]{ background:#f9fafb; }
.filter-toggles .toggle-btn[data-target=".st-ok"][aria-pressed="false"]{  background:#ecfdf5; color:#065f46; border-color:#a7f3d0; }
.filter-toggles .toggle-btn[data-target=".st-ko"][aria-pressed="false"]{  background:#fff1f2; color:#9f1239; border-color:#fecdd3; }
.filter-toggles .toggle-btn[data-target=".st-wait"][aria-pressed="false"]{background:#f3f4f6; color:#374151; border-color:#e5e7eb;}
.filter-toggles .toggle-btn[data-target=".st-abs"][aria-pressed="false"]{ background:#e5e7eb; color:#111827; border-color:#d1d5db; }
.filter-toggles .toggle-btn[aria-pressed="false"]:hover{ filter:brightness(0.97); }

/* =============== Boutons "Tout cocher" =============== */
.btn-week{ background:#2563eb; color:#fff; border:none; border-radius:10px; padding:8px 14px; font-size:13px; font-weight:600; cursor:pointer; transition:background .2s, transform .06s, box-shadow .2s; box-shadow:0 2px 4px rgba(37,99,235,.15); }
.btn-week:hover{ background:#1d4ed8; box-shadow:0 3px 6px rgba(37,99,235,.25); }
.btn-week:active{ background:#1e40af; transform:translateY(1px); }

.btn-agent{ margin-left:6px; font-size:12px; padding:4px 10px; border-radius:8px; cursor:pointer; background:#f3f4f6; border:1px solid #e5e7eb; color:#111827; font-weight:600; transition:all .2s ease; }
.btn-agent:hover{ background:#e5e7eb; border-color:#d1d5db; }
.btn-agent:active{ background:#d1d5db; transform:translateY(1px); }

.btn-week.chef{ background:#7c3aed; color:#fff; border:none; border-radius:10px; padding:8px 14px; font-size:13px; font-weight:600; cursor:pointer; transition:background .2s, transform .06s, box-shadow .2s; box-shadow:0 2px 4px rgba(124,58,237,.15); }
.btn-week.chef:hover{ background:#6d28d9; box-shadow:0 3px 6px rgba(124,58,237,.25); }
.btn-week.chef:active{ background:#5b21b6; transform:translateY(1px); }

/* =============== Responsive tweaks (généraux) =============== */
@media (max-width:820px){
  .table th:nth-child(6), .table td:nth-child(6){ display:none; }
  .inline-form{ flex-wrap:wrap; }
  .codes-scroll-window{ max-height:400px; }
}

/* =============== Inputs cohérents =============== */
input[type="date"]{
  background:#fff; color:#111827; border:1px solid #d1d5db; border-radius:10px; padding:8px 12px; accent-color:#4F46E5;
}

/* =============== Indicateur auto-sauvegarde =============== */
#autosave-status{
  position:sticky; top:6px; z-index:10; display:flex; align-items:center; gap:8px; padding:4px 10px; border-radius:8px;
  background:#f9fafb; box-shadow:0 1px 3px rgba(0,0,0,.08); font-size:13px; color:#374151; max-width:1200px; margin:0 auto 6px auto;
}
#autosave-status.idle  #as-dot{ background:#9CA3AF; }
#autosave-status.saving #as-dot{ background:#F59E0B; }
#autosave-status.saved  #as-dot{ background:#10B981; }
#autosave-status #as-text{ font-weight:500; letter-spacing:.2px; }
.sticky-submit{
  position:sticky; top:8px; z-index:20; display:flex; justify-content:flex-end; margin:10px 0 8px;
  background:linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,0)); padding-top:6px;
}
#btn-save-week.btn.btn-success.btn-xl{
  background:#10b981; border-color:#0ea5a4; color:#fff; font-weight:700; padding:12px 18px; border-radius:12px; font-size:16px; box-shadow:0 2px 6px rgba(0,0,0,.12);
}

/* =============== FAB flottant (mobile) =============== */
.fab-submit{
  position:fixed; right:18px; bottom:18px; z-index:30; display:inline-flex; align-items:center; gap:8px;
  background:#10b981; color:#fff; border:none; border-radius:999px; padding:10px 14px; box-shadow:0 10px 20px rgba(16,185,129,.35); cursor:pointer; font-weight:700;
}
.fab-dot{
  width:10px; height:10px; border-radius:999px; background:#dcfce7; box-shadow:0 0 0 0 rgba(220,252,231,.9); transform:scale(1);
}
.fab-dirty .fab-dot{ animation:fabPulse 1.4s ease-out infinite; }
@keyframes fabPulse{
  0%{ box-shadow:0 0 0 0 rgba(220,252,231,.9); }
  70%{ box-shadow:0 0 0 14px rgba(220,252,231,0); }
  100%{ box-shadow:0 0 0 0 rgba(220,252,231,0); }
}
@media (max-width:420px){ .fab-label{ display:none; } }

/* =============== États complétude (fond) =============== */
.etat-souhaits.is-complete .table-wrap{
  background:#EAF7F0; border:1px solid #CFEADB; border-radius:12px; padding:10px;
}
.etat-souhaits.is-incomplete .table-wrap{
  background:#FFF3D6; border:1px solid #F3D89A; border-radius:12px; padding:10px;
}

/* =============== Grille Chef (complétude + agents) =============== */
.chef-grid-2{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:clamp(8px, 1.5vw, 16px);
  align-items:start;
}
.card.stretch{ height:100%; }

/* =============== Typo fluide titres cartes =============== */
.card h2, .card h3, .epi-title{
  font-size:clamp(1rem, 1vw + .8rem, 1.25rem);
}

/* =============== Conteneur de tables =============== */
.table-wrap{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable both-edges;
}

/* =============== Petits écrans (généraux) =============== */
@media (max-width:600px){
  .ticker2__track{ gap:8px; animation-duration:40s; }
  .epi-card-date{ padding:10px 6px; }
  .inline-form .select{ min-width:120px; }
}
@media (max-width:420px){
  .table-compact th, .table-compact td{ padding:4px 6px; }
  .missing-list{ max-height:160px; }
}




/* Cercle de pourcentage — responsive */
.progress-circle{
  /* taille auto : mini 26px, maxi 44px, sinon ~3vw */
  --pc-size: clamp(26px, 3.2vw, 44px);
  --pc-bg-ok: #16a34a;
  --pc-ring-warn: #f59e0b;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: var(--pc-size);
  height: var(--pc-size);
  border-radius: 50%;

  /* taille du texte proportionnelle au cercle */
  font-size: calc(var(--pc-size) * 0.32);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums; /* chiffres réguliers */
}

.progress-circle .pct{ transform: translateY(0.5px); }

/* états */
.progress-circle.ok{
  background: var(--pc-bg-ok);
  color:#fff;
}

.progress-circle.warn{
  background: transparent;
  color:#b45309;
  box-shadow: inset 0 0 0 3px var(--pc-ring-warn);
}

/* Tailles forcées (optionnelles) */
.progress-circle--sm{ --pc-size: 26px; }
.progress-circle--md{ --pc-size: 34px; }  /* défaut implicite via clamp */
.progress-circle--lg{ --pc-size: 44px; }

/* Ultra petits écrans : compacter un peu */
@media (max-width: 360px){
  .progress-circle{ --pc-size: clamp(22px, 7vw, 34px); }
}
/* Export card : selects centrés + boutons Office-like */
.export-card { text-align:center; }
.export-form { display:block; }
.export-selects{
  display:flex; justify-content:center; align-items:flex-end;
  gap:16px; flex-wrap:wrap; margin:8px 0 12px;
}
.export-buttons{
  display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:4px;
}
.btn-export{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px; border:none; border-radius:12px;
  font-weight:800; color:#fff; cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-export:hover{ transform:translateY(-2px); filter:brightness(.97); }

/* Couleurs proches des vrais fichiers */
.btn-xlsx{ background:#217346; }      /* Excel */
.btn-xlsx:hover{ background:#1b5e37; }
.btn-pdf{  background:#d93025; }      /* Adobe PDF */
.btn-pdf:hover{  background:#b3261e; }

.btn-export .ico{ font-size:1.15em; line-height:0; }
@media (max-width:520px){
  .export-buttons{ flex-direction:column; }
}

    /* Helpers non présents dans la feuille globale */
    .progress-circle {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-weight: 700;
        line-height: 1
    }

    .progress-circle.ok {
        background: #16a34a;
        color: #fff
    }

    .progress-circle.warn {
        background: transparent;
        color: #b45309;
        box-shadow: inset 0 0 0 3px #f59e0b
    }

    .progress-circle .pct {
        transform: translateY(.5px)
    }

    details.inline {
        display: inline-block;
        cursor: pointer
    }

    details.inline>summary {
        list-style: none;
        display: inline-flex;
        align-items: center;
        gap: 6px
    }

    details.inline>summary::-webkit-details-marker {
        display: none
    }

   
    .grid-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        align-items: stretch;
        margin-top: 12px
    }

    @media (max-width:1100px) {
        .grid-3 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width:740px) {
        .grid-3 {
            grid-template-columns: 1fr;
        }
    }

    .grid-2-eq {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: start;
        margin-top: 12px
    }

    @media (max-width:1100px) {
        .grid-2-eq {
            grid-template-columns: 1fr;
        }
    }

    .card.stretch {
        height: 100%
    }

    /* Sections pleine largeur mais centrées dans le container */
    .section-wide {
        max-width: 1400px;
        margin: 16px auto 0 auto
    }
/* Gris clair pour le libellé "Mes horaires" de MA ligne uniquement */
.week-cal .agent-col.self strong { color:#ff0000; } /* gris type slate-300 *//* Section à 2 cartes alignées comme 2+1 colonnes */
.grid-2-eq {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
  gap: 20px;
  align-items: start;
}

/* La grosse carte de gauche prend 2 colonnes */
#etat-souhaits {
  grid-column: span 2;
}

/* La carte Agents occupe 1 colonne */
#agents-block {
  grid-column: span 1;
}

/* Optionnel : harmoniser la hauteur visuelle des cards */
.grid-2-eq .card.stretch {
  height: 100%;
}

/* Responsive : empiler en 1 colonne sur petits écrans */
@media (max-width: 1000px) {
  .grid-2-eq {
    grid-template-columns: 1fr;
  }
  #etat-souhaits, #agents-block {
    grid-column: auto;
  }
}
/* ===== Conteneurs / layout ===== */
.app-main { padding:16px; }
.container { max-width:1200px; margin:0 auto; padding:0 16px; }

/* Grilles simples (utilitaires) */
.grid { display:grid; gap:12px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width:700px){ .grid-2{ grid-template-columns: 1fr 1fr; } }
@media (min-width:1000px){ .grid-3{ grid-template-columns: 1fr 1fr 1fr; } }

/* Cartes */
.card{ background:#fff; border:1px solid #e5e7eb; border-radius:12px; box-shadow:0 1px 4px rgba(0,0,0,.06); }
.card-header{ padding:12px 14px; border-bottom:1px solid #eef1f5; font-weight:700; }
.card-body{ padding:14px; }

/* Boutons (compatibles avec tes .btn existants) */
.btn{ display:inline-block; padding:8px 12px; border-radius:8px; border:1px solid transparent; background:#4f46e5; color:#fff; font-weight:600; text-decoration:none; cursor:pointer; }
.btn:hover{ filter:brightness(1.05); }
.btn-compact{ padding:6px 10px; border-radius:7px; }
.btn-secondary{ background:#fff; color:#111; border-color:#e5e7eb; }
.btn-danger{ background:#dc2626; }

/* Outils de responsive */
.hide-mobile{ display:none !important; }
.show-mobile{ display:block !important; }
@media (min-width:901px){ .hide-desktop{ display:none !important; } .hide-mobile{ display:initial !important; } .show-mobile{ display:none !important; } }

/* Tableaux responsives */
.table-wrap{ width:100%; overflow:auto; -webkit-overflow-scrolling:touch; }
.table{ width:100%; border-collapse:collapse; }
.table th,.table td{ padding:10px 12px; border-bottom:1px solid #eef1f5; white-space:nowrap; }
.table th{ text-align:left; background:#fafbff; }

/* Formulaires */
.form-row{ display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; }
.form-row .field{ flex:1 1 220px; min-width:200px; }
.input, select, textarea{ width:100%; padding:8px 10px; border:1px solid #e5e7eb; border-radius:8px; }
label{ font-weight:600; display:block; margin-bottom:6px; }

/* Divers */
img{ max-width:100%; height:auto; }
.toolbar{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; justify-content:flex-end; }
@media (max-width:700px){ .toolbar{ justify-content:space-between; } }
/* ===================== DASHBOARD V2 (scopé) ===================== */

/* Fond global du tableau de bord */
.dashboard-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 16px 32px;
}

body {
  background:
    radial-gradient(circle at top left, #eef2ff 0, #f9fafb 40%, #f3f4f6 100%);
}

/* Cartes principales du dashboard */
.dashboard-container .card,
.dashboard-container .epi-card,
.dashboard-container .epi-card-date {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Sections pleine largeur */
.dashboard-container .section-wide {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

/* En-tête de carte */
.dashboard-container .card-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(135deg, #f9fafb 0, #eef2ff 100%);
}

/* Typo des titres */
.dashboard-container .card h2,
.dashboard-container .card h3,
.dashboard-container .epi-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1rem, 1.1vw + 0.8rem, 1.3rem);
}

/* Sous-texte */
.dashboard-container .subtle {
  color: #6b7280;
  font-size: 0.88rem;
}

/* ===== Grille du haut (3 cartes) ===== */

.dashboard-container .grid.grid-3 {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .dashboard-container .grid.grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Carte "Bonjour" */
.dashboard-container .grid.grid-3 .card:first-child h2 {
  font-size: 1.45rem;
}

/* Encarts “épi-badge” (dans Mes heures, etc.) */
.dashboard-container .epi-badge {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(135deg, #f9fafb 0, #eef2ff 100%);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.35);
  padding: 7px 12px;
}

/* Carte Mes heures : style widget */
.dashboard-container .card .mes-heures-widget,
.dashboard-container .card .overtime-widget {
  border-radius: 16px;
  background: radial-gradient(circle at top left, #eef2ff 0, #ffffff 55%, #f4f4ff 100%);
  border: 1px solid rgba(129, 140, 248, 0.3);
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.25);
}
.ot-balance {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 10px 0 6px;
    padding: 10px 14px;
    
    background: #f8fafc;                 /* gris très clair */
    border: 1px solid #e5e7eb;           /* bordure douce */
    border-radius: 10px;
    
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 3px 6px rgba(0,0,0,0.05);
}

.ot-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #374151; /* gris foncé lisible */
}

.ot-item strong {
    color: #111827; /* un peu plus sombre */
}

/* Spécial TOTAL : texte légèrement plus mis en avant */
.ot-total {
    font-size: 15px;
    padding-right: 10px;
    border-right: 1px solid #e5e7eb;
}

.ot-month {
    color: #4b5563;
    font-size: 14px;
}

/* ===== Boutons & badges (dashboard) ===== */

.dashboard-container .btn {
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.3);
  transition: transform 0.08s ease-out, box-shadow 0.15s ease-out, filter 0.15s ease-out;
}

.dashboard-container .btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.35);
}

.dashboard-container .btn-compact {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f3f4ff;
  color: #4338ca;
}

.dashboard-container .btn-compact:hover {
  background: #e0e7ff;
}

.dashboard-container .btn-success {
  background: #16a34a;
  border-color: #15803d;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.38);
}

.dashboard-container .btn-success:hover {
  filter: none;
  transform: translateY(-1px);
}

/* Badges */
.dashboard-container .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: #e5e7eb;
  color: #374151;
}

.dashboard-container .badge-ok {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #166534;
}

.dashboard-container .badge-warning {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

.dashboard-container .badge-off {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #6b7280;
}

/* ===== Widget "État des souhaits" + Agents ===== */

.dashboard-container #etat-souhaits {
  border-left: 4px solid transparent;
}

.dashboard-container #etat-souhaits.is-complete {
  border-left-color: #22c55e;
}

.dashboard-container #etat-souhaits.is-incomplete {
  border-left-color: #f97316;
}

.dashboard-container #etat-souhaits .table-wrap {
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 8px;
}

/* Progress circle, réutilise tes classes existantes */
.dashboard-container .progress-circle {
  background: #f3f4f6;
  box-shadow: none;
}

.dashboard-container .progress-circle.ok {
  background: radial-gradient(circle at 30% 20%, #bbf7d0, #16a34a);
  color: #ffffff;
}

.dashboard-container .progress-circle.warn {
  background: transparent;
  color: #b45309;
}

/* Carte “Agents de mon service” */
.dashboard-container #agents-block .table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.28);
  background: #ffffff;
}

.dashboard-container #agents-block table.table thead {
  background: #f9fafb;
}

.dashboard-container #agents-block table.table tbody tr:hover td {
  background: #eef2ff;
}

/* ===== Planning hebdo équipe ===== */

.dashboard-container .week-cal table {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

.dashboard-container .week-cal th.agent-col.self {
  background: #ecfdf5;
}

.dashboard-container .week-cal .pill-wish {
  border-radius: 999px;
  padding: 4px 8px;
  background: #eff6ff;
  border: 1px solid rgba(129, 140, 248, 0.45);
  color: #1e3a8a;
  font-size: 0.8rem;
}

.dashboard-container .week-cal .pill-wish .wish-main {
  font-weight: 600;
}

.dashboard-container .week-cal .status-dot.status-wait {
  background: #facc15;
}

.dashboard-container .week-cal .status-dot.status-ko {
  background: #ef4444;
}

/* Absence approuvée déjà stylée dans ton PHP : on renforce un peu */
.dashboard-container .week-cal .pill-wish.is-absent-approved {
  background: #111827 !important;
  border-color: #020617 !important;
  color: #e5e7eb !important;
}

/* ===== Planning mensuel ===== */

.dashboard-container .conges-mensuels {
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.dashboard-container .conges-mensuels thead th {
  font-size: 0.78rem;
}

/* ===== Export card ===== */

.dashboard-container .export-card {
  text-align: left;
}

.dashboard-container .export-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-container .export-card .toolbar {
  justify-content: flex-start;
}

/* ===== Ticker d'équipe (top) ===== */

.dashboard-container .ticker2 {
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.4);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), rgba(129, 140, 248, 0.06));
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.26);
}

.dashboard-container .ticker2__item {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(6px);
}

/* ================== FIN DASHBOARD V2 ================== */
