/* ========================================
   RESET & GLOBALS
======================================== */
@import "leaflet/dist/leaflet.css";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9e9ec;
  color: #0b3d2e;
  line-height: 1.5;
  overflow-x: hidden; /* Évite débordement horizontal */
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: #0b3d2e;
}

h11, h12, h13, h14 {
  color: #ffffff;
  font-weight: 600;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
h11 { font-size: 2rem; }
h12 { font-size: 1.8rem; margin-bottom: 12px; }
h13 { font-size: 1.3rem; margin-bottom: 8px; }
h14 { font-size: 1.1rem; margin-bottom: 6px; }

p, small {
  font-weight: 400;
}

/* ========================================
   NAVBAR / HEADER
======================================== */
header {
  background-color: #0b3d2e;
  padding: 10px 20px;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 600;
}

.logo img {
  border-radius: 30%;
}

.logo h1 {
  font-size: 1.5rem;
  color: white;
}

.logo small {
  font-size: 0.7rem;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  background-color: #e23030;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  font-weight: 600;
  border-radius: 20px;
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  text-align: center;
  user-select: none;
}

.white-btn {
  background-color: white;
  color: #0b3d2e;
  border: 1.5px solid #0b3d2e;
}

.white-btn:hover {
  background-color: #0b3d2e;
  color: white;
}

.red-btn {
  background-color: white;
  color: #e23030;
  border: 1.5px solid #e23030;
}

.red-btn:hover {
  background-color: #e23030;
  color: white;
}

/* ========================================
   LAYOUT UTILITY CLASSES
======================================== */
.btn-group {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-group-centered {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.mb-20 { margin-bottom: 20px; }

.fullwidth-btn {
  display: block;
  width: 100%;
  text-align: center;
}

/* ========================================
   ICON COLORS
======================================== */
.icon-red { color: #e23030; }
.icon-green { color: #36846e; }
.icon-pink { color: #f2aac6; }
.icon-orange { color: #eb7d24; }

/* ========================================
   PAGE SECTIONS
======================================== */
.page-section {
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 0 15px;
}

/* ========================================
   ACCUEIL
======================================== */
.accueil-section h2 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.accueil-section p {
  font-size: 1.1rem;
  font-weight: 500;
}

.hero {
  background: linear-gradient(135deg, #0b3d2e 0%, #184e38 100%);
  color: white;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
}

.advantages {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.row-3cards > article,
.row-2cards > div {
  background: white;
  padding: 25px 15px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(200, 20, 30, 0.12);
  width: calc(33% - 20px);
  margin-bottom: 30px;
  text-align: center;
}

.advantages .card h3 {
  margin: 12px 0 6px;
}

.advantages .card p {
  font-size: 0.9rem;
}

.promo-banner {
  margin-top: 40px;
  border-radius: 10px;
  padding: 30px 20px;
  color: white;
  box-shadow: 0 10px 25px rgba(255, 50, 50, 0.3);
  text-align: center;
}

.red-banner {
  background-color: #e23030;
}

.red-banner > h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.red-banner p {
  margin-bottom: 15px;
}

.row-3cards > article i,
.steps-grid > div i {
  margin-bottom: 8px;
}

/* ========================================
   PIZZA SECTION
======================================== */
.pizza-section h2,
.livraison-section h2,
.horaires-section h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
}

.pizza-section p,
.livraison-section p,
.horaires-section p {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}

.pizza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.pizza-card {
  background: white;
  box-shadow: 0 8px 18px rgba(200, 20, 30, 0.12);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.pizza-card:hover {
  transform: translateY(-6px);
}

.pizza-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.pizza-img-placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #e23030;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.pizza-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 12px 15px 6px;
  color: #0b3d2e;
}

.pizza-card p {
  font-size: 0.9rem;
  margin: 0 15px 15px;
  font-weight: 400;
  color: #444;
}

.delivery-banner {
  background-color: #0b3d2e;
  color: white;
  border-radius: 15px;
  padding: 18px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.delivery-banner i {
  font-size: 1.3rem;
}

/* ========================================
   LIVRAISON SECTION
======================================== */
.livraison-section .delivery-content {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.livraison-section .order-steps {
  width: 65%;
  margin: 40px auto;
}

.card-shadow {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(11, 61, 46, 0.15);
  padding: 25px 25px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-shadow:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(11, 61, 46, 0.25);
}

.card-header {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: #0b3d2e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.red-dark {
  color: #ffffff;
}

.dark-green {
  color: #ffffff;
  text-align: center;
  display: flex;
  justify-content: center;
}

.card-green-light {
  background: linear-gradient(135deg, #b4e3d0, #d9f2e6);
  color: #0b3d2e;
  padding: 15px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  margin-bottom: 20px;
  border-left: 6px solid #0b3d2e;
}

.card-green-light small {
  background-color: #0b3d2e;
  color: white;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  position: absolute;
  top: 8px;
  left: 10px;
}

.card-green-light strong {
  margin-top: 5px;
  display: block;
  color: #166643;
}

.delivery-price-row {
  border-radius: 10px;
  background: #f7f9f8;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  color: #0b3d2e;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
}

.delivery-price-row:hover {
  background-color: #eaf7f0;
}

.card-blue-light {
  background: linear-gradient(135deg, #c9e1fc, #e7f0ff);
  color: #ffffff;
  padding: 20px;
  border-radius: 15px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
  font-weight: 600;
}

.card-header i,
.card-blue-light i {
  font-size: 1.3rem;
  color: #e23030;
}

/* ========================================
   STEPS COMMANDE
======================================== */
.order-steps {
  background: #f1f5f9;
  border-radius: 15px;
  padding: 25px 20px 30px;
  margin-top: 20px;
  text-align: center;
}

.steps-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 10px;
  flex-wrap: wrap; /* Permet de passer en colonne sur mobile */
}

.step {
  max-width: 180px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
  padding: 15px 10px 25px;
}

.step h4 {
  margin: 12px 0 6px;
  color: #0b3d2e;
}

.step small {
  font-size: 0.9rem;
  color: #555;
}

.step i {
  margin-bottom: 10px;
}

/* ========================================
   HORAIRES & CONTACT
======================================== */
.horaires-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.horaires-contact > div {
  width: 380px;
}

.horaires ul {
  list-style: none;
}

.horaires ul li {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-weight: 600;
}

.alert-box {
  background-color: #f9e1ea;
  color: #b12132;
  padding: 10px 15px;
  border-radius: 10px;
  margin-top: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.horaires-header {
  color: white;
}

.horaires-list li {
  color: #0b3d2e;
}

.contact-list.left-align {
  text-align: left;
}

.contact-header {
  color: white;
}

.contact-items li {
  color: #0b3d2e;
  display: flex;
  align-items: center;
}

.contact-list {
  list-style: none;
  color: white;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-list li strong {
  display: block;
  flex-basis: 110px;
  color: #0b3d2e;
}

.contact-list li i.icon-pink { color: #f2aac6; }
.contact-list li i.icon-red { color: #e23030; }
.contact-list li i.icon-green { color: #36846e; }

/* ========================================
   EASY ORDER BOX
======================================== */
.easy-order {
  background-color: #f9e1ea;
  color: #0b3d2e;
  border-radius: 15px;
  padding: 25px 30px;
  margin-top: 40px;
  text-align: center;
  font-weight: 500;
}

.easy-order h3 {
  font-size: 20px;
}

/* ========================================
   FOOTER
======================================== */
footer {
  background-color: #0b3d2e;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

footer .footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer .footer-col {
  flex: 1;
  min-width: 200px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer small {
  display: block;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #d0f0e0;
}

/* ========================================
   ANIMATIONS
======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-section,
.hero,
.promo-banner {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.16, 0.8, 0.25, 1);
}

.page-section.visible,
.hero.visible,
.promo-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE (PC & MOBILE)
======================================== */
/* Grossir sur PC */
@media (min-width: 1024px) {
  html {
    font-size: 18px;
    zoom: 110%;
  }
}

/* Adapter sur mobile */
@media (max-width: 767px) {
  html {
    font-size: 16px;
    zoom: 100%;
  }

  body {
    padding: 0 10px; /* Petit padding pour éviter les bords */
  }

  /* Header responsive */
  header {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 1em !important;
  }

  header .logo-container {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 0.5em !important;
  }
}


/* Afficher uniquement sur écran téléphone (<= 768px) */
@media (max-width: 768px) {

  /* Organisation verticale des cartes (première photo) */
  .advantages, 
  .row-3cards > article, 
  .row-2cards > div {
    flex-direction: column !important;
    width: 90% !important;
    max-width: 350px;
    margin: 10px auto !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  .advantages {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 10px !important;
  }

  /* Empilage vertical des images carte livraison (deuxième photo) */
  .livraison-section .delivery-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 10px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .livraison-section .delivery-content > div {
    width: 100% !important;
    max-width: 400px !important;
  }

  /* Ajustement cartes prix et carte map */
  .livraison-section .card-shadow,
  .livraison-section iframe {
    width: 100% !important;
    max-width: 400px !important;
    box-sizing: border-box;
    margin: 0 auto 15px;
  }
}
/* CONTENEUR DES COLONNES */
.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; /* ✅ permet le retour à la ligne sur petit écran */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1em;
}

/* CHAQUE COLONNE */
.footer-col {
  flex: 1 1 200px; /* ✅ colonne flexible et minimum 200px de large */
  min-width: 200px;
}

/* COPYRIGHT */
footer small {
  display: block;
  margin-top: 1em;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* VERSION MOBILE */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column; /* ✅ empile les colonnes */
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  footer {
    font-size: 0.9rem;
    padding: 2em 1em;
  }
}
/* ===== Navbar responsive et simple ===== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0b3b2e;
  color: white;
  padding: 0.8em 1em;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.logo img {
  border-radius: 8px;
}

.logo-text h1 {
  font-size: 1.3rem;
  margin: 0;
}

.logo-text small {
  font-size: 0.8rem;
  color: #ccc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.nav-link:hover {
  color: #ffb400;
}

/* ===== Mode téléphone ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 1em;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1em;
  }

  .nav-links li {
    padding: 0.5em 0;
  }
}


/* ═══════════════════════════════════════════════
   PANIER — Bouton flottant (FAB)
═══════════════════════════════════════════════ */
.panier-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #c0392b;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(192,57,43,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 900;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Poppins', sans-serif;
}
.panier-fab:hover { transform: scale(1.06); box-shadow: 0 8px 28px rgba(192,57,43,0.6); }

.fab-badge {
  background: white;
  color: #c0392b;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

/* ═══════════════════════════════════════════════
   PIZZA CARD — Bouton Ajouter
═══════════════════════════════════════════════ */
.btn-ajouter {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════
   MODAL OVERLAY
═══════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.modal-overlay.active { display: flex; }

@media (min-width: 600px) {
  .modal-overlay.active { align-items: center; }
}

.modal-box {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 28px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.28s ease;
}
@media (min-width: 600px) {
  .modal-box { border-radius: 16px; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
.modal-header h3 { font-size: 1.2rem; color: #1a1a1a; }
.modal-close {
  background: #eee; border: none; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #555; transition: background 0.2s;
}
.modal-close:hover { background: #ddd; }

/* ═══════════════════════════════════════════════
   PANIER — Items
═══════════════════════════════════════════════ */
.panier-vide { text-align:center; color:#999; padding:24px 0; }

.panier-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.pi-nom  { flex: 1; font-weight: 600; font-size: 0.92rem; }
.pi-prix { min-width: 64px; text-align: right; font-weight: 700; color: #c0392b; font-size: 0.92rem; }

.pi-controls { display: flex; align-items: center; gap: 6px; }
.pi-controls button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #ddd; background: white;
  cursor: pointer; font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s;
  line-height: 1;
}
.pi-controls button:hover { border-color: #c0392b; color: #c0392b; }
.pi-controls span { font-weight: 700; min-width: 18px; text-align: center; }

.panier-footer { padding-top: 14px; }
.panier-total-line {
  display: flex; justify-content: space-between;
  font-size: 1.15rem; font-weight: 800;
  padding: 12px 0; border-top: 2px solid #eee; margin-bottom: 14px;
}
.total-val { color: #c0392b; }

/* ═══════════════════════════════════════════════
   FORMULAIRE COMMANDE
═══════════════════════════════════════════════ */
.form-commande .form-group { margin-bottom: 14px; }
.form-commande label {
  display: block; font-weight: 600; font-size: 0.88rem;
  margin-bottom: 5px; color: #333;
}
.form-commande input,
.form-commande textarea {
  width: 100%; padding: 10px 13px;
  border: 2px solid #e0e0e0; border-radius: 8px;
  font-size: 0.92rem; font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s;
}
.form-commande input:focus,
.form-commande textarea:focus { outline: none; border-color: #c0392b; }

.paiement-opts { display: flex; gap: 10px; }
.paiement-opt {
  flex: 1; border: 2px solid #e0e0e0; border-radius: 8px;
  padding: 10px; text-align: center; cursor: pointer;
  font-weight: 600; font-size: 0.88rem; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.paiement-opt:has(input:checked) { border-color: #c0392b; background: #fff5f5; color: #c0392b; }
.paiement-opt input { display: none; }

.recap-box {
  background: #fff5f5; border-radius: 8px;
  padding: 12px 14px; margin-bottom: 14px;
  font-size: 0.88rem;
}

/* ═══════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════ */
.toast {
  position: fixed; top: 80px; right: 20px;
  padding: 11px 18px; border-radius: 8px;
  font-weight: 600; font-size: 0.88rem;
  z-index: 1500; opacity: 0;
  transform: translateX(110%);
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast-success { background: #27ae60; color: white; }
.toast-error   { background: #c0392b; color: white; }

/* ═══════════════════════════════════════════════
   FULLWIDTH BTN helper
═══════════════════════════════════════════════ */
.fullwidth-btn {
  width: 100%;
  justify-content: center;
  display: flex;
}




/* ═══════════════════════════════════════════════
   NAV — Bouton Connexion Admin
═══════════════════════════════════════════════ */
.nav-admin-btn {
  background: rgba(192, 57, 43, 0.15) !important;
  border: 1.5px solid rgba(192, 57, 43, 0.5);
  border-radius: 20px;
  padding: 6px 14px !important;
  color: #e74c3c !important;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-admin-btn:hover {
  background: #c0392b !important;
  color: white !important;
  border-color: #c0392b;
}
.nav-admin-btn.active {
  background: #c0392b !important;
  color: white !important;
  border-color: #c0392b;
}

/* ═══════════════════════════════════════════════
   PAGE CONNEXION — Bannière "En développement"
═══════════════════════════════════════════════ */
.dev-banner {
  background: linear-gradient(90deg, #f39c12, #e67e22);
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.dev-banner i { font-size: 1rem; }

.connexion-wrap {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f5f5f5;
}

.connexion-public {
  background: white;
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  text-align: center;
  margin-bottom: 24px;
}
.connexion-public .icon-dev { font-size: 3rem; margin-bottom: 12px; }
.connexion-public h2 { font-size: 1.4rem; margin-bottom: 8px; color: #1a1a1a; }
.connexion-public p { color: #777; font-size: 0.92rem; line-height: 1.6; }
.connexion-public .progress-bar {
  background: #eee;
  border-radius: 20px;
  height: 8px;
  margin: 16px 0;
  overflow: hidden;
}
.connexion-public .progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  border-radius: 20px;
  animation: progressPulse 2s ease-in-out infinite;
}
@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.connexion-admin-box {
  background: white;
  border-radius: 16px;
  padding: 28px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.connexion-admin-box h3 {
  font-size: 1rem;
  color: #999;
  text-align: center;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.connexion-admin-box h3::before,
.connexion-admin-box h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eee;
}

.form-login .form-field { margin-bottom: 14px; }
.form-login .form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 5px;
  color: #444;
}
.form-login .form-field input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s;
}
.form-login .form-field input:focus {
  outline: none;
  border-color: #c0392b;
}
.form-login .error-msg {
  background: #fff0f0;
  border: 1px solid #f5c6c6;
  color: #c0392b;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  text-align: center;
}
.btn-login {
  width: 100%;
  padding: 12px;
  background: #c0392b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-login:hover { background: #96281b; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════
   ADMIN — Tableau de bord
═══════════════════════════════════════════════ */
.admin-page { background: #f0f0f0; min-height: 100vh; }

.admin-topbar {
  background: #1a1a1a;
  color: white;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar h1 { color: #f1c40f; font-size: 1.05rem; font-weight: 700; }
.admin-topbar-right { display: flex; gap: 8px; align-items: center; }

.admin-content { padding: 24px; max-width: 900px; margin: 0 auto; }

/* Toggle ON/OFF */
.toggle-card {
  background: white;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.toggle-card-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.toggle-card-info p { color: #888; font-size: 0.88rem; }

.toggle-status {
  display: flex;
  align-items: center;
  gap: 14px;
}
.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.ouvert { background: #27ae60; box-shadow: 0 0 0 4px rgba(39,174,96,0.2); }
.status-dot.ferme  { background: #e74c3c; box-shadow: 0 0 0 4px rgba(231,76,60,0.2); }
.status-label { font-weight: 700; font-size: 1rem; }
.status-label.ouvert { color: #27ae60; }
.status-label.ferme  { color: #e74c3c; }

/* Switch toggle */
.switch-wrap { position: relative; display: inline-block; width: 62px; height: 34px; }
.switch-wrap input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #e74c3c;
  border-radius: 34px;
  transition: background 0.3s;
}
.switch-slider::before {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  left: 4px; bottom: 4px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.switch-wrap input:checked + .switch-slider { background: #27ae60; }
.switch-wrap input:checked + .switch-slider::before { transform: translateX(28px); }

/* Infos section */
.admin-info-card {
  background: white;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}
.admin-info-card h4 { font-size: 0.85rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.info-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 0.88rem; }
.info-row:last-child { border-bottom: none; }
.info-row i { color: #c0392b; width: 18px; margin-top: 1px; flex-shrink: 0; }
.info-row span { color: #555; }

/* Btn admin */
.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-admin-grey { background: #e0e0e0; color: #555; }
.btn-admin-grey:hover { background: #ccc; }
.btn-admin-red  { background: #c0392b; color: white; }
.btn-admin-red:hover { background: #96281b; }

/* ═══════════════════════════════════════════════
   PIZZAS — Bannière commandes fermées
═══════════════════════════════════════════════ */
.commandes-fermees-banner {
  background: linear-gradient(135deg, #2c2c2c, #4a1010);
  color: white;
  text-align: center;
  padding: 28px 20px;
  margin: 20px auto;
  max-width: 600px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.commandes-fermees-banner .icon-closed { font-size: 2.5rem; margin-bottom: 10px; }
.commandes-fermees-banner h3 { font-size: 1.3rem; margin-bottom: 8px; color: #f1c40f; }
.commandes-fermees-banner p { color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.6; }
.commandes-fermees-banner .tel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  background: #c0392b;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.commandes-fermees-banner .tel-link:hover { background: #96281b; }

/* ═══════════════════════════════════════════════
   PANIER FAB + MODAL (système commande)
═══════════════════════════════════════════════ */
.panier-fab {
  position: fixed; bottom: 24px; right: 24px;
  background: #c0392b; color: white;
  border: none; border-radius: 50px;
  padding: 14px 22px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(192,57,43,0.5);
  display: flex; align-items: center; gap: 10px;
  z-index: 900;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Poppins', sans-serif;
}
.panier-fab:hover { transform: scale(1.06); }
.fab-badge {
  background: white; color: #c0392b;
  border-radius: 50%; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900;
}
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 1000;
  align-items: flex-end; justify-content: center;
  backdrop-filter: blur(2px);
}
.modal-overlay.active { display: flex; }
@media (min-width: 600px) { .modal-overlay.active { align-items: center; } }
.modal-box {
  background: white; border-radius: 20px 20px 0 0;
  padding: 24px 20px 28px; width: 100%;
  max-width: 520px; max-height: 90vh; overflow-y: auto;
  animation: slideUp 0.28s ease;
}
@media (min-width: 600px) { .modal-box { border-radius: 16px; } }
@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0;
}
.modal-header h3 { font-size: 1.15rem; color: #1a1a1a; }
.modal-close {
  background: #eee; border: none; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #555; transition: background 0.2s;
}
.modal-close:hover { background: #ddd; }
.panier-vide { text-align: center; color: #999; padding: 24px 0; }
.panier-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #f0f0f0;
}
.pi-nom  { flex: 1; font-weight: 600; font-size: 0.9rem; }
.pi-prix { min-width: 62px; text-align: right; font-weight: 700; color: #c0392b; font-size: 0.9rem; }
.pi-controls { display: flex; align-items: center; gap: 6px; }
.pi-controls button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #ddd; background: white;
  cursor: pointer; font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s; line-height: 1;
}
.pi-controls button:hover { border-color: #c0392b; color: #c0392b; }
.pi-controls span { font-weight: 700; min-width: 18px; text-align: center; }
.panier-footer { padding-top: 14px; }
.panier-total-line {
  display: flex; justify-content: space-between;
  font-size: 1.1rem; font-weight: 800;
  padding: 12px 0; border-top: 2px solid #eee; margin-bottom: 14px;
}
.total-val { color: #c0392b; }
.form-commande .form-group { margin-bottom: 14px; }
.form-commande label { display: block; font-weight: 600; font-size: 0.87rem; margin-bottom: 5px; color: #333; }
.form-commande input,
.form-commande textarea {
  width: 100%; padding: 10px 13px;
  border: 2px solid #e0e0e0; border-radius: 8px;
  font-size: 0.9rem; font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s;
}
.form-commande input:focus,
.form-commande textarea:focus { outline: none; border-color: #c0392b; }
.paiement-opts { display: flex; gap: 10px; }
.paiement-opt {
  flex: 1; border: 2px solid #e0e0e0; border-radius: 8px;
  padding: 10px; text-align: center; cursor: pointer;
  font-weight: 600; font-size: 0.87rem; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.paiement-opt:has(input:checked) { border-color: #c0392b; background: #fff5f5; color: #c0392b; }
.paiement-opt input { display: none; }
.recap-box {
  background: #fff5f5; border-radius: 8px;
  padding: 12px 14px; margin-bottom: 14px; font-size: 0.87rem;
}
.fullwidth-btn { width: 100%; justify-content: center; display: flex; }
.toast {
  position: fixed; top: 80px; right: 20px;
  padding: 11px 18px; border-radius: 8px;
  font-weight: 600; font-size: 0.87rem; z-index: 1500;
  opacity: 0; transform: translateX(110%);
  transition: all 0.3s ease; font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15); pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast-success { background: #27ae60; color: white; }
.toast-error   { background: #c0392b; color: white; }
.btn-ajouter   { width: 100%; margin-top: 10px; justify-content: center; font-size: 0.9rem; }








/* Bouton Connexion dans le nav */
.nav-admin-btn {
  background: rgba(192, 57, 43, 0.15) !important;
  border: 1.5px solid rgba(192, 57, 43, 0.5);
  border-radius: 20px;
  padding: 6px 14px !important;
  color: #e74c3c !important;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-admin-btn:hover,
.nav-admin-btn.active {
  background: #c0392b !important;
  color: white !important;
  border-color: #c0392b;
}

/* Bannière jaune "en développement" */
.dev-banner {
  background: linear-gradient(90deg, #f39c12, #e67e22);
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Page connexion — bloc public */
.connexion-wrap {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f5f5f5;
}
.connexion-public {
  background: white;
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  text-align: center;
  margin-bottom: 24px;
}
.connexion-public h2 { font-size: 1.4rem; margin-bottom: 8px; }
.connexion-public p  { color: #777; font-size: 0.92rem; line-height: 1.6; }
.progress-bar {
  background: #eee; border-radius: 20px;
  height: 8px; margin: 16px 0; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 65%;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  border-radius: 20px;
  animation: progressPulse 2s ease-in-out infinite;
}
@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* Page connexion — formulaire admin */
.connexion-admin-box {
  background: white;
  border-radius: 16px;
  padding: 28px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.connexion-admin-box h3 {
  font-size: 1rem; color: #999; text-align: center;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.connexion-admin-box h3::before,
.connexion-admin-box h3::after {
  content: ''; flex: 1; height: 1px; background: #eee;
}
.form-login .form-field { margin-bottom: 14px; }
.form-login .form-field label {
  display: block; font-weight: 600;
  font-size: 0.85rem; margin-bottom: 5px; color: #444;
}
.form-login .form-field input {
  width: 100%; padding: 11px 14px;
  border: 2px solid #e0e0e0; border-radius: 8px;
  font-size: 0.93rem; font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s;
}
.form-login .form-field input:focus { outline: none; border-color: #c0392b; }
.form-login .error-msg {
  background: #fff0f0; border: 1px solid #f5c6c6;
  color: #c0392b; padding: 9px 13px; border-radius: 7px;
  font-size: 0.85rem; margin-bottom: 12px; text-align: center;
}
.btn-login {
  width: 100%; padding: 12px;
  background: #c0392b; color: white;
  border: none; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-login:hover { background: #96281b; transform: translateY(-1px); }

/* Admin — layout général */
.admin-page { background: #f0f0f0; min-height: 100vh; }
.admin-topbar {
  background: #1a1a1a; color: white;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  position: sticky; top: 0; z-index: 50;
}
.admin-topbar h1 { color: #f1c40f; font-size: 1.05rem; font-weight: 700; }
.admin-topbar-right { display: flex; gap: 8px; align-items: center; }
.admin-content { padding: 24px; max-width: 900px; margin: 0 auto; }

/* Toggle ON/OFF */
.toggle-card {
  background: white; border-radius: 14px;
  padding: 28px 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.toggle-card-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.toggle-card-info p  { color: #888; font-size: 0.88rem; }
.toggle-status { display: flex; align-items: center; gap: 14px; }
.status-dot {
  width: 14px; height: 14px; border-radius: 50%; display: inline-block;
}
.status-dot.ouvert { background: #27ae60; box-shadow: 0 0 0 4px rgba(39,174,96,0.2); }
.status-dot.ferme  { background: #e74c3c; box-shadow: 0 0 0 4px rgba(231,76,60,0.2); }
.status-label { font-weight: 700; font-size: 1rem; }
.status-label.ouvert { color: #27ae60; }
.status-label.ferme  { color: #e74c3c; }
.switch-wrap { position: relative; display: inline-block; width: 62px; height: 34px; }
.switch-wrap input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #e74c3c; border-radius: 34px; transition: background 0.3s;
}
.switch-slider::before {
  content: ''; position: absolute;
  width: 26px; height: 26px; left: 4px; bottom: 4px;
  background: white; border-radius: 50%;
  transition: transform 0.3s; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.switch-wrap input:checked + .switch-slider { background: #27ae60; }
.switch-wrap input:checked + .switch-slider::before { transform: translateX(28px); }

/* Admin — cartes info */
.admin-info-card {
  background: white; border-radius: 14px;
  padding: 22px 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}
.admin-info-card h4 {
  font-size: 0.85rem; font-weight: 700; color: #999;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.info-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 0.88rem;
}
.info-row:last-child { border-bottom: none; }
.info-row i { color: #c0392b; width: 18px; margin-top: 1px; flex-shrink: 0; }
.info-row span { color: #555; }

/* Admin — boutons */
.btn-admin {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border: none; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  font-family: 'Poppins', sans-serif; text-decoration: none; transition: all 0.2s;
}
.btn-admin-grey { background: #e0e0e0; color: #555; }
.btn-admin-grey:hover { background: #ccc; }
.btn-admin-red  { background: #c0392b; color: white; }
.btn-admin-red:hover { background: #96281b; }

/* Bannière commandes fermées sur pizzas.php */
.commandes-fermees-banner {
  background: linear-gradient(135deg, #2c2c2c, #4a1010);
  color: white; text-align: center;
  padding: 28px 20px; margin: 20px auto;
  max-width: 600px; border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.commandes-fermees-banner h3 { font-size: 1.3rem; margin-bottom: 8px; color: #f1c40f; }
.commandes-fermees-banner p  { color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.6; }
.commandes-fermees-banner .tel-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; background: #c0392b; color: white;
  padding: 10px 20px; border-radius: 8px; font-weight: 700;
  text-decoration: none; transition: background 0.2s;
}
.commandes-fermees-banner .tel-link:hover { background: #96281b; }


/* ═══════════════════════════════════════════════
   ADMIN — Tableau des commandes
═══════════════════════════════════════════════ */
.commandes-section {
  background: white;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  overflow: hidden;
}

.commandes-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 2px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 10px;
}

.commandes-section-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.commandes-section-header .actions-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-count {
  background: #c0392b;
  color: white;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #27ae60;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #27ae60;
  border-radius: 50%;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

/* Tableau */
.table-wrapper {
  overflow-x: auto;
}

.commandes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.commandes-table thead tr {
  background: #f8f8f8;
  border-bottom: 2px solid #eee;
}

.commandes-table thead th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  white-space: nowrap;
}

.commandes-table tbody tr {
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}

.commandes-table tbody tr:hover { background: #fafafa; }
.commandes-table tbody tr:nth-child(even) { background: #fdfafa; }
.commandes-table tbody tr:nth-child(even):hover { background: #f5f5f5; }

.commandes-table td {
  padding: 12px 14px;
  vertical-align: middle;
  color: #333;
}

.cmd-id {
  font-weight: 800;
  color: #c0392b;
  font-size: 0.82rem;
  white-space: nowrap;
}

.cmd-client-nom  { font-weight: 700; color: #1a1a1a; }
.cmd-client-tel  { font-size: 0.8rem; color: #888; }
.cmd-adresse     { font-size: 0.82rem; color: #666; max-width: 160px; }

.pizzas-list { list-style: none; margin: 0; padding: 0; }
.pizzas-list li { font-size: 0.82rem; color: #555; padding: 1px 0; }
.pizzas-list li::before { content: '🍕 '; }

.cmd-total-val {
  font-weight: 800;
  color: #c0392b;
  white-space: nowrap;
}

.cmd-datetime {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
}

/* Select statut */
.select-statut {
  padding: 5px 8px;
  border-radius: 20px;
  border: 2px solid;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  transition: all 0.2s;
}

.statut-nouvelle     { background: #fff3cd; border-color: #f39c12; color: #856404; }
.statut-validee      { background: #cce5ff; border-color: #3498db; color: #1a5276; }
.statut-preparation  { background: #ffe8cc; border-color: #e67e22; color: #7d4e00; }
.statut-terminee     { background: #d1e7dd; border-color: #27ae60; color: #0a5132; }

/* Bouton supprimer */
.btn-supprimer {
  background: #c0392b;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-supprimer:hover { background: #96281b; transform: scale(1.05); }

/* Bouton reset */
.btn-reset {
  background: #2c2c2c;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-reset:hover { background: #c0392b; }

/* Vide */
.table-vide {
  text-align: center;
  padding: 50px 20px;
  color: #bbb;
}
.table-vide .icon { font-size: 2.5rem; margin-bottom: 10px; }
.table-vide p { font-size: 0.95rem; }

/* Modal reset */
.reset-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.reset-modal-overlay.active { display: flex; }
.reset-modal {
  background: white;
  border-radius: 14px;
  padding: 28px 24px;
  width: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
}
.reset-modal .icon-warn { font-size: 2.5rem; margin-bottom: 8px; }
.reset-modal h3 { font-size: 1.1rem; margin-bottom: 6px; color: #1a1a1a; }
.reset-modal p  { font-size: 0.85rem; color: #888; margin-bottom: 16px; }
.reset-modal input {
  width: 100%; padding: 10px 13px;
  border: 2px solid #e0e0e0; border-radius: 8px;
  font-size: 0.9rem; font-family: 'Poppins', sans-serif;
  margin-bottom: 10px; text-align: center;
}
.reset-modal input:focus { outline: none; border-color: #c0392b; }
.reset-modal-btns { display: flex; gap: 8px; margin-top: 4px; }
.reset-modal-btns button {
  flex: 1; padding: 10px;
  border: none; border-radius: 8px;
  font-size: 0.88rem; font-weight: 700;
  cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
}
.btn-confirmer-reset { background: #c0392b; color: white; }
.btn-confirmer-reset:hover { background: #96281b; }
.btn-annuler-reset { background: #eee; color: #555; }
.btn-annuler-reset:hover { background: #ddd; }
.reset-error {
  color: #c0392b; font-size: 0.82rem;
  margin-top: 6px; display: none;
}