/* doc-project | cuisine/assets/css/pdv-default-modal.css | Définit le style dédié de la modale premium de choix du PDV par défaut de l’appareil cuisine, avec carte immersive, choix visuels confortables au toucher et hiérarchie mobile-first haut de gamme. | Expose: aucun | Dépend de: cuisine/index.php, cuisine/assets/js/_pdvDefaultModal.js | Impacte: UI cuisine, lisibilité mobile de la sélection du PDV par défaut, confort tactile, cohérence premium du flux de configuration appareil | Tables: aucune */

.k-pdv-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.k-pdv-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, .18), transparent 34%),
    rgba(2, 6, 23, .78);
  backdrop-filter: blur(12px);
}

.k-pdv-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(17, 24, 39, .96));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
  color: #e5e7eb;
}

.k-pdv-modal__eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 10px;
  font-weight: 800;
}

.k-pdv-modal__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 5.8vw, 36px);
  line-height: 1.02;
}

.k-pdv-modal__intro {
  margin: 0 0 18px;
  color: #cbd5e1;
  line-height: 1.5;
  font-size: 15px;
}

.k-pdv-modal__choices {
  display: grid;
  gap: 12px;
}

.k-pdv-modal__choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, .22);
  background: rgba(15, 23, 42, .64);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.k-pdv-modal__choice:hover,
.k-pdv-modal__choice:focus-within {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, .56);
  box-shadow: 0 12px 28px rgba(8, 47, 73, .32);
  background: rgba(8, 47, 73, .42);
}

.k-pdv-modal__choice input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: #38bdf8;
}

.k-pdv-modal__choice-body {
  display: grid;
  gap: 4px;
}

.k-pdv-modal__choice-title {
  font-size: 19px;
  font-weight: 800;
}

.k-pdv-modal__choice-note {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.45;
}

.k-pdv-modal__error {
  margin: 14px 0 0;
  color: #fda4af;
  font-size: 14px;
  font-weight: 700;
}

.k-pdv-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.k-pdv-modal__btn {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.k-pdv-modal__btn--ghost {
  background: rgba(30, 41, 59, .92);
  color: #e5e7eb;
}

.k-pdv-modal__btn--primary {
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  color: #082f49;
}

@media (max-width: 560px) {
  .k-pdv-modal {
    padding: 14px;
  }

  .k-pdv-modal__dialog {
    border-radius: 24px;
    padding: 20px;
  }

  .k-pdv-modal__actions {
    flex-direction: column-reverse;
  }

  .k-pdv-modal__btn {
    width: 100%;
  }
}