.shop-popup-sheet {
  z-index: 999999 !important;
}

.container {
  padding: 0 !important;
}
/* ====== Variables de thème ====== */
:root {
  --brand: #ff9900;
  --brand-dark: #e08300;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --card-radius: 16px;
  --shadow-soft: 0 2px 10px rgba(17, 24, 39, 0.06);
  --shadow-hover: 0 8px 24px rgba(17, 24, 39, 0.08);
}

/* Reset utile */
.pricing-section * {
  box-sizing: border-box;
}

/* ====== En-tête tarifs ====== */
.pricing-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 8px;
}

.pricing-header svg {
  width: 22px;
  height: 22px;
}

.pricing-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.pricing-subtitle {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-separator {
  height: 1px;
  background: var(--line);
  margin: 12px 0 22px;
}

/* ====== Grille des cartes ====== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

@media (max-width: 640px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* ====== Carte tarif ====== */
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.pricing-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}

.pricing-card .price {
  font-weight: 800;
  font-size: 28px;
  color: var(--brand);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

/* Liste des avantages */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text);
  font-size: 14px;
  border-top: 1px dashed #f1f1f1;
}

.pricing-card li:first-child {
  border-top: 0;
}

.pricing-card .check-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: var(--ok);
}

/* Bouton souscrire */
.subscribe-button {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 9999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--brand);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.subscribe-button:hover {
  background: var(--brand-dark);
  box-shadow: 0 5px 18px rgba(255, 153, 0, 0.25);
}

.subscribe-button:active {
  transform: translateY(1px);
}

.subscribe-button.disabled,
.pricing-card.disabled .subscribe-button {
  background: #f3f4f6;
  border-color: #f3f4f6;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
}

.subscribe-button.waiting {
  background: #f59e0b;
  border-color: #f59e0b;
}

/* Badge "recommandé" (optionnel) */
.pricing-card.recommended::after {
  content: "RECOMMANDÉ";
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

/* États sélection / désactivée / rejetée */
.pricing-card.selected {
  border-color: rgba(255, 153, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15), var(--shadow-soft);
}

.pricing-card.disabled {
  opacity: 0.6;
}

.pricing-card.rejected {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08), var(--shadow-soft);
}

.pricing-card.rejected .subscribe-button {
  background: #f3f4f6;
  color: #9ca3af;
}

/* Bouton "Choisir une autre offre" */
.choose-again-btn {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.choose-again-btn:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow-soft);
}

/* ====== Status courant ====== */
.subscription-status-box {
  display: none;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #92400e;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.subscription-status-box p {
  margin: 0;
  font-size: 14px;
}

.subscription-status-box strong {
  color: var(--text);
}

/* ====== Tooltips (icône info à droite) ====== */
.tooltip {
  display: inline-flex;
  position: relative;
  margin-left: 6px;
  vertical-align: middle;
}

.tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  z-index: 10;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: #111827;
}

/* ====== Effet flou sur la section (lors de l’ouverture du modal) ====== */
.shop-section.blurred {
  filter: blur(2px);
  transform: scale(0.995);
  transition: all 0.2s ease;
}

/* ====== Popup "mobile-sheet" ====== */
.shop-popup-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999999 !important;
  background: rgba(17, 24, 39, 0.35);
  backdrop-filter: blur(1px);
}

.shop-popup-content {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.15);
  padding: 14px 14px 16px;
  max-height: 86vh;
  overflow: auto;
  animation: sheetIn 0.28s ease forwards;
}

.shop-popup-content.closing {
  animation: sheetOut 0.28s ease forwards;
}

@keyframes sheetIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes sheetOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(25px);
    opacity: 0;
  }
}

.grabber {
  width: 46px;
  height: 5px;
  margin: 2px auto 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

.payment-instructions {
  background: var(--bg-soft);
  border: 1px dashed #f1f1f1;
  border-radius: 12px;
  padding: 12px;
  margin: 10px 0 14px;
}

.payment-numbers {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.payment-numbers li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed #eee;
  font-size: 14px;
  color: var(--text);
}

.payment-numbers li:first-child {
  border-top: 0;
}

.payment-numbers strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Zone d’upload */
.custom-upload {
  margin-top: 10px;
}

.upload-zone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 120px;
  background: #fff;
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.upload-zone:hover {
  border-color: var(--brand);
  background: #fffdf8;
}

.upload-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

#paymentProof {
  display: none;
}

#proofPreview {
  display: none;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  margin-top: 10px;
  background: #00000008;
}

/* Actions popup */
.popup-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.confirm-button,
.cancel-button {
  flex: 1 1 auto;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}

.confirm-button {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.confirm-button:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.25);
}

.confirm-button.sending {
  background: #f59e0b;
  border-color: #f59e0b;
}

.cancel-button {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.cancel-button:hover {
  border-color: #d1d5db;
}

/* ====== Accessibilité ====== */
.subscribe-button:focus,
.confirm-button:focus,
.cancel-button:focus,
.choose-again-btn:focus {
  outline: 2px solid rgba(255, 153, 0, 0.45);
  outline-offset: 2px;
}

/* ====== Conteneurs ====== */
.subscription-status-box + .shop-section {
  margin-top: 18px;
}

.container#shop-panel {
  margin-bottom: 100px;
}

/* ====== Rubans ====== */

/* Ruban coin (diagonale) */
.pricing-card .ribbon-corner {
  position: absolute;
  top: 12px;
  left: -8px;
  width: 160px;
  height: 28px;
  background: linear-gradient(90deg, #ffb34d, #ff9900);
  color: #111827;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-15deg);
  box-shadow: 0 6px 18px rgba(255, 153, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-card .ribbon-corner::before,
.pricing-card .ribbon-corner::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid #b86e00;
  /* ombre du ruban */
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.pricing-card .ribbon-corner::before {
  left: 0;
  transform: translateX(-1px);
}

.pricing-card .ribbon-corner::after {
  right: 0;
  transform: translateX(1px);
}

/* Alternative: bandeau en haut (mobile-friendly) */
.pricing-card .ribbon-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 28px;
  background: linear-gradient(90deg, #ffb34d, #ff9900);
  color: #111827;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
}

/* Montrer la version bandeau sur petits écrans */
@media (max-width: 420px) {
  .pricing-card .ribbon-corner {
    display: none;
  }

  .pricing-card .ribbon-bar {
    display: flex;
  }

  .pricing-card {
    padding-top: 44px;
  }

  /* place pour le bandeau */
}

/* ====== Ligne d’icônes au-dessus du prix ====== */
.plan-quick-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 8px;
  flex-wrap: wrap;
}

.plan-quick-icons .qi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset;
}

.plan-quick-icons .qi svg {
  width: 16px;
  height: 16px;
  fill: #9a3412;
}

/* Accent sur la carte recommandée */
.pricing-card.recommended {
  border-color: rgba(255, 153, 0, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.12), var(--shadow-soft);
}

/* Conteneur de la section (centre + padding latéral) */
.shop-section,
.pricing-section {
  /* garde les deux sélecteurs au cas où */
  max-width: 1200px;
  /* largeur max du contenu */
  margin-inline: auto;
  /* centre horizontalement */
  padding-inline: clamp(16px, 4vw, 32px);
  /* espace gauche/droite responsive */
}

/* Grille centrée et respirante */
.pricing-cards {
  /* remplace le repeat(3, 1fr) par un auto-fit fluide */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
  /* au cas où le parent serait full-bleed, on centre la grille */
  justify-items: stretch;
  align-items: stretch;
}

/* Cartes pleine hauteur + bouton collé en bas */
.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card ul {
  flex: 1 1 auto;
  /* occupe la hauteur pour pousser le bouton en bas */
}

.pricing-card .subscribe-button {
  margin-top: auto;
  /* colle en bas de la carte */
}

/* Joli spacing au-dessus/au-dessous du bloc cartes */
.pricing-cards {
  margin-block: 18px 8px;
}

/* Affinage mobile très petit : évite tout effet “collé” */
@media (max-width: 420px) {
  .shop-section,
  .pricing-section {
    padding-inline: 16px;
  }

  .pricing-cards {
    gap: 14px;
  }
}

/* Ultra-large écrans : limite la largeur + padding plus généreux */
@media (min-width: 1400px) {
  .shop-section,
  .pricing-section {
    max-width: 1280px;
    padding-inline: 32px;
  }
}

/* ===== Statut d’abonnement (carte) ===== */
.subscription-status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #fed7aa;
  /* proche de ta palette */
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
}

.status-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 50%;
}

.status-icon svg {
  width: 20px;
  height: 20px;
}

.status-content {
  flex: 1 1 auto;
  min-width: 0;
}

.status-title {
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px;
  font-size: 14px;
}

.status-title strong {
  color: #111827;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Badges d’état */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid transparent;
  background: #f3f4f6;
  color: #374151;
  /* neutral par défaut */
}

/* Couleurs stateful (applique via JS selon le statut) */
.chip--pending {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.chip--approved {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.chip--rejected {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Petite note (optionnelle) */
.status-note {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

/* Responsive resserré */
@media (max-width: 480px) {
  .subscription-status-card {
    padding: 10px 12px;
  }

  .status-title {
    font-size: 13px;
  }

  .chip {
    height: 24px;
    padding: 0 8px;
    font-size: 11.5px;
  }
}

/* Conteneur pour centrer la carte */
.subscription-status-wrapper {
  display: flex;
  justify-content: center;
  /* centre horizontalement */
  padding: 0 16px;
  /* petit espace sur les côtés */
  margin: 20px auto;
  /* espace haut/bas + auto pour centrage */
  max-width: 720px;
  /* largeur max lisible (ajuste selon ton design) */
}

/* La carte prend toute la largeur dispo mais reste contenue */
.subscription-status-card {
  flex: 1;
}

/* --- HEADER --- */
.pricing-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
  font-family: "Inter", sans-serif;
}

.pricing-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  /* gris foncé élégant */
  margin: 0;
  letter-spacing: -0.5px;
}

.pricing-header .pricing-icon {
  background: linear-gradient(135deg, #ffb347, #ff9900);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.25);
}

.pricing-header .pricing-icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  /* icône blanche sur fond orange */
}

/* --- SOUS-TITRE --- */
.pricing-subtitle {
  font-size: 1rem;
  color: #4b5563;
  /* gris moyen */
  margin: 0 0 1.5rem;
  font-weight: 400;
}

/* --- SÉPARATEUR --- */
.pricing-separator {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff9900, #ff5e00);
  margin-bottom: 2rem;
}

/* Bouton désactivé générique */
.subscribe-button.disabled,
.pricing-card.disabled .subscribe-button {
  background: #f3f4f6;
  border-color: #f3f4f6;
  color: #6b7280;
  /* gris lisible */
  cursor: not-allowed;
  box-shadow: none;
}

/* Bouton "Déjà actif" (succès désactivé) */
.subscribe-button.disabled.active {
  background: #28a745;
  /* vert succès */
  border-color: #28a745;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.85;
  /* effet désactivé */
}
:root {
  --brand: #ff9900;
  --brand-dark: #e08300;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #fff;
  --bg-soft: #fafafa;
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Overlay */
.shop-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: saturate(120%) blur(2px);
}

/* Base content */
.shop-popup-content {
  background: var(--bg);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -6px 26px rgba(0, 0, 0, 0.18);
  padding: 16px 16px 18px;
  max-height: 86vh;
  overflow: auto;
  transform: translateY(0);
  animation: sheetIn 0.22s ease-out both;
}

/* Mobile-first: bottom sheet */
.modal-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Desktop: centered dialog */
@media (min-width: 900px) {
  .shop-popup-content {
    border-radius: 18px;
    width: min(760px, 92vw);
    padding: 22px 22px 20px;
    animation: dialogIn 0.22s ease-out both;
  }

  .modal-sheet {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow);
  }

  .grabber {
    display: none;
  }
}

/* Animations */
@keyframes sheetIn {
  from {
    transform: translateY(24px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes dialogIn {
  from {
    transform: translate(-50%, -46%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

/* Grabber */
.grabber {
  width: 48px;
  height: 6px;
  margin: 6px auto 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Header */
.modal-header {
  margin-bottom: 8px;
}

.modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.modal-subtitle {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Section */
.payment-instructions {
  background: var(--bg-soft);
  border: 1px dashed #efefef;
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0 14px;
}

.section-title {
  margin: 0 0 0.4rem;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

/* Payment list */
.payment-numbers {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.payment-numbers li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed #eee;
  font-size: 14px;
  color: var(--text);
}

.payment-numbers li:first-child {
  border-top: 0;
}

.pay-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  border-radius: 999px;
  font-weight: 700;
  color: #9a3412;
}

.copy-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.copy-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: 0.15s;
}

.copy-btn:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.copy-btn i {
  pointer-events: none;
}

/* Upload area */
.custom-upload {
  margin-top: 10px;
}

.upload-zone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 140px;
  background: #fff;
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.upload-zone:hover {
  border-color: var(--brand);
  background: #fffdf8;
}

.upload-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

#paymentProof {
  display: none;
}

#proofPreview {
  display: none;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  margin-top: 10px;
  background: #0001;
}

#uploadProgress {
  width: 100%;
  margin-top: 10px;
}

/* Actions */
.popup-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.confirm-button,
.cancel-button {
  flex: 1 1 auto;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, transform 0.05s, box-shadow 0.15s;
}

.confirm-button {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.confirm-button:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.25);
}

.confirm-button.sending {
  background: #f59e0b;
  border-color: #f59e0b;
}

.cancel-button {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.cancel-button:hover {
  border-color: #d1d5db;
}

/* Focus rings */
.confirm-button:focus,
.cancel-button:focus,
.copy-btn:focus,
.upload-zone:focus {
  outline: 2px solid rgba(255, 153, 0, 0.45);
  outline-offset: 2px;
}

.model-header {
  display: block;
  align-items: center;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}
