/* ══════════════════════════════════════════════════════════════
   Extra Life Orders — CSS v4
   ══════════════════════════════════════════════════════════════ */

/* ── Base ────────────────────────────────────────────────────── */
.elo-wrap, #elo-dashboard-root, .elo-dash-login {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   FORMULAIRE — responsive, grandes photos, accessibilité
   ══════════════════════════════════════════════════════════════ */
.elo-wrap {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 8px;
  box-sizing: border-box;
}
/* Tablette et mobile : pleine largeur, 0 marge latérale */
@media (max-width: 767px) {
  .elo-wrap {
    max-width: 100% !important;
    padding: 6px !important;
  }
  .elo-form-box {
    border-radius: 10px !important;
  }
}
@media (min-width: 600px) { .elo-wrap { padding: 16px; } }
@media (min-width: 768px) { .elo-wrap { padding: 20px; } }

.elo-form-box {
  background: #17171f;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; overflow: hidden; color: #f2f2f7;
}

/* ── Header ──────────────────────────────────────────────────── */
.elo-form-header {
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
}

/* Logo centré en haut */
.elo-form-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 20px 0;
}
.elo-form-logo {
  max-height: 140px;     /* plus de hauteur pour les logos ronds */
  max-width: 85%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

/* Titre et sous-titre */
.elo-form-header h2,
.elo-form-header .elo-form-subtitle,
.elo-countdown { padding-left: 20px; padding-right: 20px; }

.elo-form-header h2 {
  font-size: 26px; font-weight: 700;
  margin: 14px 0 6px;
  color: #c8ff00;
  text-align: center;
}
.elo-form-subtitle {
  font-size: 14px; color: #9090b0; margin: 0;
  padding-bottom: 12px;
  display: block; line-height: 1.5;
  text-align: center;
}

/* Bannière plein-largeur en bas du header */
.elo-form-banner {
  width: 100%;
  overflow: hidden;
  margin-top: 12px;
}
.elo-form-banner img {
  width: 100%;
  height: auto;     /* hauteur automatique — image jamais coupée */
  max-height: none; /* aucune limite de hauteur */
  object-fit: contain;
  display: block;
}

/* Countdown */
.elo-countdown { padding: 10px 20px 14px; font-size: 15px; }
.elo-countdown-live { display: block; }
.elo-countdown-live strong { color: #c8ff00; }
.elo-countdown-expired { color: #f87171; font-weight: 700; font-size: 15px; }

/* Formulaire fermé */
.elo-closed { text-align: center; padding: 48px 24px; color: #9090b0; }
.elo-closed h3 { font-size: 22px; font-weight: 700; color: #f87171; margin: 0 0 10px; }
.elo-closed p  { font-size: 16px; margin: 0; }

/* ── Corps du formulaire ─────────────────────────────────────── */
#elo-form, .elo-success { padding: 20px; }
@media (min-width: 600px) { #elo-form, .elo-success { padding: 24px; } }

/* ── Marges externes pour éviter menu site + boutons sociaux ── */
/* Le menu WP est généralement en haut, les boutons sociaux en bas/coin */
.elo-wrap {
  margin-top: 24px !important;
  margin-bottom: 80px !important;  /* espace pour les boutons flottants */
}
@media (min-width: 768px) {
  .elo-wrap {
    margin-top: 32px !important;
    margin-bottom: 40px !important;
  }
}

/* Champs */
.elo-field { margin-bottom: 24px; }
.elo-field > label {
  display: block; font-size: 13px; text-transform: uppercase;
  letter-spacing: 1px; color: #9090b0; font-weight: 700; margin-bottom: 10px;
}
.elo-field input[type="text"],
.elo-field textarea {
  width: 100%; background: #0f0f14; border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 14px 16px; color: #f2f2f7; font-size: 16px;
  font-family: inherit; outline: none; transition: border-color .2s; box-sizing: border-box;
}
.elo-field input[type="text"]:focus,
.elo-field textarea:focus { border-color: #c8ff00; }
.elo-field input::placeholder, .elo-field textarea::placeholder { color: #50506a; }
.elo-field textarea { resize: vertical; min-height: 90px; }

/* ── Formules radio (UNO) ────────────────────────────────────── */
.elo-radio-group { display: flex; flex-direction: column; gap: 10px; }
.elo-radio-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: #0f0f14; border: 2px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 14px 16px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.elo-radio-card:hover { border-color: rgba(200,255,0,.5); }
.elo-radio-card.selected,
.elo-radio-card:has(input:checked) { border-color: #c8ff00; background: rgba(200,255,0,.06); }
.elo-radio-card input[type="radio"] {
  accent-color: #c8ff00; flex-shrink: 0; margin-top: 3px;
  cursor: pointer; width: 18px; height: 18px;
}
.elo-radio-label { display: flex; flex-direction: column; gap: 4px; }
.elo-radio-label strong { color: #f2f2f7; font-weight: 700; font-size: 16px; }
.elo-radio-desc { font-size: 13px; color: #9090b0; line-height: 1.5; }

/* ── Grille plats — grandes cartes avec photos ───────────────── */
.elo-plats-list {
  display: grid;
  grid-template-columns: 1fr;    /* 1 colonne — pleine largeur sur mobile */
  gap: 10px;
  width: 100%;
}
/* Tablette : 2 colonnes */
@media (min-width: 480px) {
  .elo-plats-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
/* PC : 3 colonnes */
@media (min-width: 700px) {
  .elo-plats-list { grid-template-columns: repeat(3, 1fr); }
}

.elo-plat-item { display: flex; flex-direction: column; }

/* Carte plat verticale avec grande photo */
.elo-plat-card-v {
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 12px !important;
  gap: 0 !important;
}
.elo-plat-card-v input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.elo-plat-card-v .elo-radio-label {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
}
/* Grande image plat */
.elo-plat-img-big {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* Nom du plat sous la photo */
.elo-plat-name {
  display: block; padding: 10px 12px 12px;
  font-size: 14px !important; font-weight: 600 !important;
  color: #f2f2f7 !important; line-height: 1.3;
  text-align: center;
}
@media (min-width: 480px) { .elo-plat-name { font-size: 15px !important; } }

/* Plat sans photo → style horizontal classique */
.elo-plat-card-lbl:not(.elo-plat-card-v) .elo-radio-label {
  flex-direction: row !important; align-items: center !important; gap: 10px;
}

/* ── Options personnalisation ────────────────────────────────── */
.elo-plat-options {
  margin: 4px 0 0; padding: 14px 16px;
  background: rgba(255,107,53,.06); border: 1px solid rgba(255,107,53,.2); border-radius: 10px;
}
.elo-opts-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: #ff6b35; font-weight: 700; margin-bottom: 10px;
}
.elo-check-opt {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: #f2f2f7; cursor: pointer; padding: 6px 0;
}
.elo-check-opt input[type="checkbox"] {
  accent-color: #ff6b35; cursor: pointer; width: 18px; height: 18px;
}

/* ── Grille desserts — grandes cartes avec photos ────────────── */
.elo-desserts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
  gap: 10px;
  width: 100%;
}
@media (min-width: 480px) { .elo-desserts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .elo-desserts-grid { grid-template-columns: repeat(4, 1fr); } }

/* Carte dessert verticale */
.elo-dessert-card-v {
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 12px !important;
  gap: 0 !important;
}
.elo-dessert-card-v input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.elo-dessert-card-v .elo-radio-label {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
}

/* Dessert sans photo → carte compacte centrée */
.elo-desserts-grid .elo-radio-card:not(.elo-dessert-card-v) {
  align-items: center; justify-content: center;
  padding: 14px 10px; min-height: 60px;
}
.elo-desserts-grid .elo-radio-card:not(.elo-dessert-card-v) .elo-radio-label {
  flex-direction: column; align-items: center; text-align: center;
}
.elo-desserts-grid .elo-radio-card:not(.elo-dessert-card-v) strong {
  font-size: 14px !important;
}

/* ── Boutons ─────────────────────────────────────────────────── */
.elo-btn {
  width: 100%; background: #c8ff00; color: #0f0f14; border: none;
  border-radius: 12px; padding: 16px; font-weight: 700; font-size: 17px;
  cursor: pointer; font-family: inherit; transition: opacity .2s, transform .1s;
  margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.elo-btn:hover { opacity: .88; } .elo-btn:active { transform: scale(.98); }
.elo-btn:disabled { opacity: .5; cursor: not-allowed; }
.elo-btn-outline {
  background: transparent; color: #c8ff00; border: 2px solid #c8ff00;
  border-radius: 12px; padding: 14px 28px; font-weight: 600; font-size: 16px;
  cursor: pointer; font-family: inherit; transition: background .2s; margin-top: 10px;
}
.elo-btn-outline:hover { background: rgba(200,255,0,.08); }

/* Messages */
.elo-msg { margin: 0 20px; padding: 12px 16px; border-radius: 10px; font-size: 15px; margin-bottom: 10px; }
.elo-msg.error   { background: rgba(248,113,113,.08); border:1px solid rgba(248,113,113,.3); color:#f87171; }
.elo-msg.success { background: rgba(74,222,128,.08);  border:1px solid rgba(74,222,128,.3);  color:#4ade80; }


/* ── Sauces — compteur et message ───────────────────────────── */
.elo-sauce-counter {
  font-size: 12px; font-weight: 400; color: #9090b0;
  letter-spacing: 0; text-transform: none; margin-left: 6px;
}
.elo-sauce-msg {
  background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.35);
  border-radius: 8px; padding: 8px 12px; font-size: 14px; color: #fbbf24;
  margin-top: 8px; animation: elo-fadein .2s ease;
}
@keyframes elo-fadein { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

/* Succès */
.elo-success { text-align: center; padding: 48px 24px; }
.elo-success-icon { font-size: 64px; margin-bottom: 16px; }
.elo-success h3 { font-size: 24px; font-weight: 700; color: #c8ff00; margin: 0 0 10px; }
.elo-success p  { font-size: 16px; color: #9090b0; margin: 0 0 24px; }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════════════════ */

/* Login */
.elo-dash-login {
  max-width: 360px; margin: 40px auto;
  background: #17171f; border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 28px; color: #f2f2f7;
}
.elo-dash-login h2 { font-size: 22px; font-weight: 700; color: #c8ff00; margin: 0 0 6px; }
.elo-dash-login p  { font-size: 13px; color: #9090b0; margin: 0 0 20px; }

/* Conteneur */
.elo-dashboard { background: #0f0f14; color: #f2f2f7; min-height: 400px; border-radius: 12px; overflow: hidden; }

/* Header */
.elo-dash-header {
  background: #17171f; border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.elo-dash-title { font-size: 15px; font-weight: 700; color: #c8ff00; letter-spacing: .5px; }
.elo-dash-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.elo-hbtn {
  border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 500; cursor: pointer;
  border: 1px solid rgba(255,255,255,.12); background: #1e1e2a; color: #9090b0;
  font-family: inherit; transition: all .2s; white-space: nowrap;
}
.elo-hbtn:hover  { border-color: #c8ff00; color: #c8ff00; }
.elo-hbtn.green  { border-color:rgba(74,222,128,.4);  color:#4ade80; background:rgba(74,222,128,.06); }
.elo-hbtn.orange { border-color:rgba(255,107,53,.4);  color:#ff6b35; background:rgba(255,107,53,.06); }

/* Onglets événements */
.elo-ev-tabs {
  display: flex; overflow-x: auto; scrollbar-width: none;
  background: #17171f; border-bottom: 1px solid rgba(255,255,255,.07);
}
.elo-ev-tabs::-webkit-scrollbar { display: none; }
.elo-ev-tab {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  font-size: 13px; font-weight: 500; color: #9090b0; cursor: pointer;
  white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; flex-shrink: 0;
}
.elo-ev-tab:hover { color: #f2f2f7; }
.elo-ev-tab.active { color: #c8ff00; border-bottom-color: #c8ff00; }
.elo-ev-count {
  background: #1e1e2a; border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 1px 6px; font-size: 10px; font-weight: 700; color: #50506a;
}
.elo-ev-tab.active .elo-ev-count { background:rgba(200,255,0,.1); color:#c8ff00; border-color:rgba(200,255,0,.3); }

/* Stats */
.elo-stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 8px;
  padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.06);
}
@media(min-width:480px){ .elo-stats { grid-template-columns: repeat(4,1fr); } }
.elo-stat { background:#17171f; border:1px solid rgba(255,255,255,.07); border-radius:10px; padding:10px 12px; }
.elo-stat-label { font-size:9px; text-transform:uppercase; letter-spacing:1px; color:#50506a; font-weight:600; }
.elo-stat-value { font-size:28px; font-weight:800; line-height:1.1; color:#c8ff00; }
.elo-stat-value.orange{color:#ff6b35;} .elo-stat-value.pink{color:#f472b6;} .elo-stat-value.green{color:#4ade80;}

/* Recherche */
.elo-search-bar { padding: 10px 16px; }
.elo-search-bar input {
  width: 100%; background: #17171f; border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 9px 14px; color: #f2f2f7; font-size: 13px;
  font-family: inherit; outline: none; transition: border-color .2s; box-sizing: border-box;
}
.elo-search-bar input:focus { border-color: #c8ff00; }
.elo-search-bar input::placeholder { color: #50506a; }

/* Table */
.elo-table-wrap { width: 100%; overflow-x: hidden; }
.elo-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;   /* colonnes à largeur fixe définie — pas de débordement */
}
.elo-table thead th {
  padding: 6px 4px; text-align: left; font-size: 10px; text-transform: uppercase;
  letter-spacing: .5px; color: #50506a; font-weight: 600; background: #1e1e2a;
  border-bottom: 1px solid rgba(255,255,255,.07); white-space: nowrap;
  overflow: hidden;
}
.elo-table tbody tr { border-bottom: 1px solid rgba(255,255,255,.04); transition: background .15s; }
.elo-table tbody tr:hover { background: #1e1e2a; }
.elo-table tbody tr.all-served { opacity: .38; }
.elo-table tbody td {
  padding: 8px 4px; font-size: 12px; vertical-align: middle;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Alpha sep */
.elo-alpha-sep td {
  background: #0f0f14 !important; font-size: 14px; font-weight: 800;
  color: #f87171; letter-spacing: 2px; padding: 4px 14px 3px !important;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

/* Pills */
.elo-pill {
  display: inline-flex; align-items: center; gap: 5px; background: #1e1e2a;
  border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 3px 8px;
  font-size: 12px; white-space: nowrap; max-width: 260px; flex-wrap: wrap;
}
.elo-pill-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.elo-pill-dot.orange{background:#ff6b35;} .elo-pill-dot.pink{background:#f472b6;} .elo-pill-dot.blue{background:#60a5fa;}
.elo-pill.empty { color: #50506a; border-style: dashed; }
.elo-plat-opts { color: #9090b0; font-size: 11px; }

/* Options dashboard — deux lignes extras / sauces */
.elo-plat-name-line {
  display: flex; align-items: center; font-size: 12px;
  white-space: normal; line-height: 1.3;
}
.elo-opts-line {
  font-size: 11px; margin-top: 2px;
  white-space: normal; line-height: 1.4;
}
.elo-opts-extras { color: #fbbf24; }   /* jaune — extras (fromage, oignon...) */
.elo-opts-sauces { color: #9090b0; }   /* gris  — sauces */

/* La cellule plat autorise le wrap sur plusieurs lignes */
.elo-table td.td-plat {
  white-space: normal !important;
  vertical-align: top;
  padding-top: 10px;
}

/* Checkboxes servi */
.elo-serve-box {
  width: 22px; height: 22px; border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,.15); background: #0f0f14;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-size: 12px; font-weight: 700; user-select: none;
}
.elo-serve-box:hover { border-color: rgba(255,255,255,.3); }
.elo-serve-box.checked-orange { border-color:#ff6b35; color:#ff6b35; background:rgba(255,107,53,.1); }
.elo-serve-box.checked-pink   { border-color:#f472b6; color:#f472b6; background:rgba(244,114,182,.1); }

/* Inputs inline */
.elo-cell-input {
  background: transparent; border: none; border-bottom: 1px solid transparent;
  color: #f2f2f7; font-family: inherit; font-size: 13px; outline: none;
  width: 100%; transition: border-color .2s; padding: 2px 4px;
}
.elo-cell-input:hover { border-bottom-color: rgba(255,255,255,.12); }
.elo-cell-input:focus { border-bottom-color: #c8ff00; background: #1e1e2a; border-radius: 4px 4px 0 0; }
.elo-cell-input.num {
  width: 32px; max-width: 32px; text-align: center;
  font-family: monospace; font-size: 13px;
}

/* Actions ligne */
/* Actions toujours visibles — pas de hover-only sur tablette tactile */
.elo-row-actions { display: flex; gap: 4px; opacity: 1; }
.elo-row-btn {
  background: none; border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px; cursor: pointer; font-size: 14px;
  padding: 5px 8px; transition: all .2s; font-family: inherit;
  min-width: 32px; min-height: 32px;   /* zone tactile suffisante */
  display: flex; align-items: center; justify-content: center;
}
.elo-row-btn.edit { color: #60a5fa; }
.elo-row-btn.del  { color: #f87171; }
.elo-row-btn.edit:hover { background:rgba(96,165,250,.15); border-color:rgba(96,165,250,.4); }
.elo-row-btn.del:hover  { background:rgba(248,113,113,.15); border-color:rgba(248,113,113,.4); }

/* Badge numéro */
.elo-nbadge {
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:22px; border-radius:50%; background:#1e1e2a;
  border:1px solid rgba(255,255,255,.1); font-size:10px; font-weight:600; color:#50506a; font-family:monospace;
}


/* ── Largeurs colonnes tableau dashboard ─────────────────── */
/* Ordre : # | Pseudo | Table | Formule(UNO) | ✓ | Plat | ✓ | Dessert | Heure | Actions */
.elo-table col.col-num     { width: 28px; }
.elo-table col.col-pseudo  { width: auto; }   /* prend tout l'espace restant */
.elo-table col.col-table   { width: 34px; }
.elo-table col.col-formule { width: 26px; }
.elo-table col.col-check   { width: 28px; }
.elo-table col.col-plat    { width: 140px; }
.elo-table col.col-dessert { width: 90px; }
.elo-table col.col-actions { width: 70px; } /* assez large pour ✏️ et 🗑️ */

/* Pseudo : autoriser le wrap sur deux lignes si nécessaire */
.elo-table td.td-pseudo {
  white-space: normal !important;
  word-break: break-word;
  min-width: 60px;
}
/* Plat + dessert : texte tronqué avec tooltip natif */
.elo-table td.td-plat,
.elo-table td.td-dessert {
  max-width: 0;  /* nécessaire pour text-overflow avec table-layout:fixed */
}
.elo-table td.td-plat .elo-pill,
.elo-table td.td-dessert .elo-pill {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
}

/* ── Récap cuisine ────────────────────────────────────────────── */
.elo-recap-title { font-size:22px; font-weight:800; letter-spacing:2px; text-align:center; padding:20px 16px 12px; color:#f2f2f7; text-transform:uppercase; }

/* ── Résumé par catégorie ────────────────────────────────── */
.elo-summary-grid {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0 6px;
}
.elo-summary-item {
  display: flex; flex-direction: column; align-items: center;
  background: #0f0f14; border: 1px solid rgba(255,107,53,.25);
  border-radius: 10px; padding: 10px 16px; min-width: 80px;
}
.elo-summary-count {
  font-size: 32px; font-weight: 800; line-height: 1; color: #ff6b35;
}
.elo-summary-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #9090b0; margin-top: 4px;
}
.elo-recap-section { background:#17171f; border:1px solid rgba(255,255,255,.07); border-radius:10px; padding:14px 16px; margin:0 16px 12px; }
.elo-recap-section-title { font-size:13px; font-weight:700; letter-spacing:.5px; margin-bottom:12px; display:flex; align-items:center; gap:10px; }
.elo-recap-count { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:6px; padding:1px 8px; font-size:11px; font-weight:600; }
.elo-plats-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
@media(min-width:480px){ .elo-plats-grid { grid-template-columns:repeat(3,1fr); } }
.elo-plat-card { background:#0f0f14; border:1px solid rgba(255,255,255,.07); border-radius:8px; padding:10px 12px; }
.elo-plat-card .pn { font-size:11px; font-weight:600; margin-bottom:2px; color:#9090b0; }
.elo-plat-card .pc { font-size:32px; font-weight:800; line-height:1; }
.elo-plat-card .pu { font-size:10px; color:#50506a; margin-bottom:6px; }
.elo-plat-card .pp { display:flex; flex-wrap:wrap; gap:3px; }
.elo-plat-card.type-plat .pc{color:#ff6b35;} .elo-plat-card.type-dessert .pc{color:#f472b6;}
.elo-plat-opts-recap { font-size:10px; color:#ff6b35; margin-top:2px; font-style:italic; }
.elo-chip { background:#1e1e2a; border:1px solid rgba(255,255,255,.07); border-radius:4px; padding:1px 6px; font-size:10px; color:#9090b0; font-family:monospace; }

/* ── Modal ────────────────────────────────────────────────────── */
.elo-modal-bg { position:fixed; inset:0; background:rgba(0,0,0,.85); z-index:99999; display:flex; align-items:flex-end; justify-content:center; }
@media(min-width:600px){ .elo-modal-bg { align-items:center; } }
.elo-modal-box { background:#17171f; border:1px solid rgba(255,255,255,.12); border-radius:16px 16px 0 0; padding:24px; width:100%; max-width:460px; max-height:90vh; overflow-y:auto; color:#f2f2f7; font-family:inherit; }
@media(min-width:600px){ .elo-modal-box { border-radius:16px; } }
.elo-modal-box h3 { font-size:20px; font-weight:700; margin:0 0 4px; color:#c8ff00; }
.elo-modal-sub { font-size:12px; color:#50506a; margin-bottom:18px; }
.elo-modal-field { margin-bottom:14px; }
.elo-modal-field label { display:block; font-size:11px; text-transform:uppercase; letter-spacing:1px; color:#50506a; font-weight:600; margin-bottom:6px; }
.elo-modal-field input,
.elo-modal-field select,
.elo-modal-field textarea { width:100%; background:#0f0f14; border:1px solid rgba(255,255,255,.12); border-radius:8px; padding:11px 14px; color:#f2f2f7; font-size:14px; font-family:inherit; outline:none; transition:border-color .2s; -webkit-appearance:none; box-sizing:border-box; }
.elo-modal-field input:focus,.elo-modal-field select:focus,.elo-modal-field textarea:focus { border-color:#c8ff00; }
.elo-modal-field textarea { resize:vertical; min-height:70px; }
.elo-modal-btns { display:flex; gap:10px; margin-top:16px; }
.elo-modal-cancel { flex:1; background:#1e1e2a; border:1px solid rgba(255,255,255,.12); border-radius:8px; padding:12px; font-size:14px; color:#9090b0; cursor:pointer; font-family:inherit; }
.elo-modal-ok { flex:2; border:none; border-radius:8px; padding:12px; font-weight:700; font-size:14px; cursor:pointer; font-family:inherit; }
.elo-modal-ok.green{background:#4ade80;color:#0f0f14;} .elo-modal-ok.blue{background:#60a5fa;color:#0f0f14;} .elo-modal-ok.orange{background:#ff6b35;color:#fff;}

/* ── Utilitaires ──────────────────────────────────────────────── */
.elo-spin { width:14px; height:14px; border:2px solid rgba(255,255,255,.15); border-top-color:#c8ff00; border-radius:50%; animation:elo-sp .7s linear infinite; display:inline-block; }
@keyframes elo-sp { to{transform:rotate(360deg);} }
.elo-loading { display:flex; align-items:center; justify-content:center; gap:10px; padding:40px; color:#9090b0; font-size:13px; }
.elo-empty { text-align:center; padding:40px 20px; color:#50506a; font-size:13px; }
.elo-err { background:rgba(248,113,113,.08); border:1px solid rgba(248,113,113,.25); border-radius:8px; padding:10px 14px; font-size:12px; color:#f87171; margin:12px 16px; }
#elo-dashboard-root {
  padding-top: 20px;        /* espace sous le menu du site */
  padding-bottom: 100px;    /* espace pour les boutons sociaux flottants */
}
@media (min-width: 768px) {
  #elo-dashboard-root {
    padding-top: 24px;
    padding-bottom: 60px;
  }
}

/* ── Séparateurs de section (formulaire joueur) ──────────────── */
.elo-plat-separator {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #ff6b35;
  padding: 10px 0 4px; margin-top: 4px;
  border-bottom: 1px solid rgba(255,107,53,.25);
}
.elo-dessert-sep {
  color: #f472b6;
  border-bottom-color: rgba(244,114,182,.25);
}
.elo-sep-img {
  width: 32px; height: 32px; object-fit: cover;
  border-radius: 4px; flex-shrink: 0;
  border: 1px solid rgba(255,107,53,.3);
}
.elo-dessert-sep .elo-sep-img {
  border-color: rgba(244,114,182,.3);
}
