.checkout-status-banner {
  width: min(1040px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 157, 0.24);
  background: linear-gradient(155deg, rgba(14, 24, 39, 0.94), rgba(8, 14, 24, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 20;
}

.checkout-status-banner[data-state="access_granted"] {
  border-color: rgba(141, 255, 173, 0.3);
}

.checkout-status-banner[data-state="manual_review"] {
  border-color: rgba(255, 193, 122, 0.32);
}

.checkout-status-banner[data-state="failed"] {
  border-color: rgba(255, 142, 142, 0.34);
}

.checkout-status-banner__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
}

.checkout-status-banner__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.04;
}

.checkout-status-banner__detail {
  margin: 12px 0 0;
  line-height: 1.65;
  opacity: 0.84;
}

.checkout-status-banner__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-inline-note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.84;
}

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

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.checkout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.74);
  backdrop-filter: blur(10px);
}

.checkout-modal__dialog {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: min(10vh, 88px) auto 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 214, 157, 0.22);
  background: linear-gradient(165deg, rgba(8, 14, 23, 0.98), rgba(16, 24, 36, 0.98));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.44);
  color: #f6f2ea;
  padding: 22px;
}

.checkout-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 157, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.checkout-modal__eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 225, 190, 0.88);
}

.checkout-modal__title {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 0.96;
}

.checkout-modal__lead {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(239, 244, 250, 0.78);
}

.checkout-modal__price {
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 195, 128, 0.28);
  background: rgba(255, 191, 112, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.checkout-modal__tariffs {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.checkout-modal__tariffs[hidden] {
  display: none !important;
}

.checkout-modal__tariffs-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 220, 181, 0.9);
  font-weight: 700;
}

.checkout-modal__tariffs-list {
  display: grid;
  gap: 10px;
}

.checkout-modal__tariff {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 157, 0.16);
  background: rgba(10, 17, 28, 0.92);
  color: inherit;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  text-align: left;
  cursor: pointer;
}

.checkout-modal__tariff strong {
  font-size: 16px;
}

.checkout-modal__tariff span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(239, 244, 250, 0.76);
}

.checkout-modal__tariff em {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 227, 184, 0.95);
}

.checkout-modal__tariff.is-active {
  border-color: rgba(255, 195, 128, 0.34);
  background: rgba(255, 191, 112, 0.08);
}

.checkout-modal__form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.checkout-modal__field {
  display: grid;
  gap: 6px;
}

.checkout-modal__field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 220, 181, 0.9);
  font-weight: 700;
}

.checkout-modal__field input {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 214, 157, 0.18);
  background: rgba(10, 17, 28, 0.92);
  color: inherit;
  padding: 0 14px;
  font: inherit;
}

.checkout-modal__participant {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 157, 0.16);
  background: rgba(255, 191, 112, 0.05);
}

.checkout-modal__participant[hidden] {
  display: none !important;
}

.checkout-modal__participant-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 220, 181, 0.9);
  font-weight: 700;
}

.checkout-modal__consents {
  display: grid;
  gap: 10px;
  padding: 4px 0 2px;
}

.checkout-modal__consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(239, 244, 250, 0.82);
  cursor: pointer;
}

.checkout-modal__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #ffbf70;
}

.checkout-modal__consent a {
  color: rgba(255, 220, 181, 0.96);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.checkout-modal__actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-fallback-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}

.checkout-fallback-link[hidden] {
  display: none !important;
}

.checkout-fallback-link span {
  font-size: 14px;
  font-weight: 800;
}

.checkout-fallback-link small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(226, 234, 244, 0.72);
}

.checkout-modal__message {
  min-height: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 229, 195, 0.9);
}

.checkout-modal__submit[disabled] {
  opacity: 0.66;
  cursor: wait;
}

.checkout-modal__hint {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(226, 234, 244, 0.72);
}

@media (max-width: 720px) {
  .checkout-modal__dialog {
    margin-top: 18px;
    padding: 18px;
  }
}
