/* ========================================
   RESET & GLOBALS
======================================== */
/* RESET & GLOBALS */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9e9ec;
  color: #0b3d2e;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: #0b3d2e; }
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; }
p, small, label, input, button, a { font-family: 'Poppins', sans-serif; font-weight: 400; }

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

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

.logo { display: flex; align-items: center; gap: 10px; color: white; }
.logo img { border-radius: 30%; }
.logo h1 { font-size: 1.5rem; color: white; }
.logo small { font-size: 0.7rem; color: white; }

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

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

.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;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s;
}
.nav-admin-btn:hover,
.nav-admin-btn.active {
  background: #c0392b !important;
  color: white !important;
  border-color: #c0392b;
}

@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; }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  font-weight: 600;
  border-radius: 20px;
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
  text-align: center;
  user-select: none;
}
.white-btn { background: white; color: #0b3d2e; border: 1.5px solid #0b3d2e; }
.white-btn:hover { background: #0b3d2e; color: white; }
.red-btn { background: white; color: #e23030; border: 1.5px solid #e23030; }
.red-btn:hover { background: #e23030; color: white; }

.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; }
.fullwidth-btn { width: 100%; display: flex; justify-content: 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;
}

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

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

/* ========================================
   ACCUEIL
======================================== */
.hero {
  background: linear-gradient(135deg, #0b3d2e, #184e38);
  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; }

/* ========================================
   PIZZA SECTION
======================================== */
.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;
}
.pizza-card:hover { transform: translateY(-6px); }

.pizza-card img,
.pizza-img-placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

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

.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; color: #444; }

.btn-ajouter { width: 100%; margin-top: 10px; justify-content: center; font-size: 0.9rem; }

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

.promo-livraison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 2px solid #f39c12;
  border-radius: 12px;
  padding: 12px 24px;
  margin: 16px auto 24px;
  max-width: 600px;
  flex-wrap: wrap;
  text-align: center;
}
.promo-icon { font-size: 1.4rem; }
.promo-text { font-size: 0.92rem; color: #5d4037; }
.promo-badge {
  background: #f39c12;
  color: white;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ========================================
   LIVRAISON — carte pleine largeur
======================================== */
.livraison-info-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: white;
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}
.info-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #444; }
.info-item i { color: #c0392b; }
.info-item a { color: #c0392b; text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

.carte-wrapper {
  width: 100%;
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
#map { height: 520px; width: 100%; }

.carte-legende {
  background: white;
  padding: 10px 18px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  border-top: 1px solid #eee;
  color: #555;
}

.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;
}
.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; }

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

.card-shadow {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(11,61,46,0.15);
  padding: 25px 25px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.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;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.card-green-light {
  background: linear-gradient(135deg, #b4e3d0, #d9f2e6);
  color: #0b3d2e;
  padding: 15px 18px;
  border-radius: 12px;
  font-weight: 700;
  position: relative;
  margin-bottom: 20px;
  border-left: 6px solid #0b3d2e;
}
.card-green-light small {
  background: #0b3d2e; color: white;
  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; }

.horaires ul { list-style: none; }
.horaires ul li { display: flex; justify-content: space-between; margin: 8px 0; font-weight: 600; color: #0b3d2e; }

.alert-box {
  background: #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;
}

.contact-list {
  list-style: none; margin-bottom: 10px; font-size: 0.9rem;
}
.contact-list li {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; font-weight: 600; color: #0b3d2e;
}
.contact-list li strong { display: block; flex-basis: 110px; color: #0b3d2e; }

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

/* ========================================
   FOOTER
======================================== */
footer {
  background: #0b3d2e;
  color: white;
  padding: 30px 20px;
  text-align: center;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1em;
}
.footer-col { flex: 1 1 200px; 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; }

@media (max-width: 768px) {
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-col { width: 100%; }
  footer { font-size: 0.9rem; padding: 2em 1em; }
}

/* ========================================
   ANIMATIONS
======================================== */
.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
======================================== */
@media (min-width: 1024px) { html { font-size: 18px; zoom: 110%; } }

@media (max-width: 768px) {
  body { padding: 0 10px; }
  #map { height: 340px; }

  .row-3cards > article,
  .row-2cards > div {
    width: 90% !important;
    max-width: 350px;
    margin: 10px auto !important;
    text-align: center !important;
  }
  .advantages {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }
  .livraison-section .order-steps { width: 100%; }
}

/* ========================================
   PANIER — Bouton flottant
======================================== */
.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;
}

/* ========================================
   MODAL
======================================== */
.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 — 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.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; }

/* ========================================
   FORMULAIRE COMMANDE
======================================== */
.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;
}

/* ========================================
   TOAST
======================================== */
.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; 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; }

/* ========================================
   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 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; }
.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; }

/* ========================================
   PAGE CONNEXION
======================================== */
.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;
}

.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; }

.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; } }

.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 — Interface
======================================== */
.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-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-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; flex-shrink: 0; }
.info-row span { color: #555; }

.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; }

/* ========================================
   ADMIN — Tableau 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;
}
.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); } }

.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 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 {
  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;
  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;
}
.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; }

.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); }

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

.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 h3 { font-size: 1.1rem; margin-bottom: 6px; }
.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; }