/* ============================================================
   VENVITY — Complete System Bundle Protection (Phase 1)
   Confirmation-modal styling only.

   Design intent: mirror the site's existing overlay/panel pattern
   (see css/customer-privacy.css, used as reference only — its own
   .vny-* classes are intentionally NOT reused here, to keep this
   feature independent from the privacy-consent stylesheet).

   Every color, radius, shadow, spacing scale, font and button style
   below reuses the existing global tokens already defined in
   css/style.css's :root and its .label/.title/.body-sm/.btn classes.
   No new visual design language is introduced.
   ============================================================ */

.bp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(47, 52, 55, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: bpFadeIn 0.22s ease;
}

.bp-modal-overlay[hidden] {
  display: none;
}

body.bp-modal-open {
  overflow: hidden;
}

@keyframes bpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.bp-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2.25rem 2.25rem;
  animation: bpRiseIn 0.28s ease;
}

@keyframes bpRiseIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bp-modal:focus {
  outline: none;
}

.bp-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.bp-modal__close:hover {
  background: var(--bg-main);
  color: var(--text-dark);
}

.bp-modal__label {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.bp-modal__title {
  margin-bottom: 0.9rem;
  padding-right: 1.5rem;
}

.bp-modal__body {
  margin-bottom: 1.5rem;
}

.bp-modal__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.bp-modal__list:empty {
  display: none;
  border: none;
  margin-bottom: 0;
}

.bp-modal__list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.bp-modal__list li:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.bp-modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.bp-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bp-modal__actions .btn {
  width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .bp-modal {
    padding: 2.25rem 1.5rem 1.75rem;
    border-radius: var(--radius-md);
  }

  .bp-modal__title {
    padding-right: 1.25rem;
  }
}
