.pay-gate {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  text-align: left;
}

.pay-gate-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  color: #38313e;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.pay-gate-input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: #154338;
  cursor: pointer;
}

.pay-gate-open {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: #154338;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.pay-gate-open:hover {
  color: #0d2e26;
}

.pay-gate-warn {
  margin: 0;
  color: #c93b6d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.pay-gate.is-ready .pay-gate-warn {
  display: none;
}

.pay-gate-btn {
  text-align: center;
  align-self: center;
}

.pay-gate-btn.is-locked {
  opacity: 0.45;
  filter: grayscale(1);
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

.pay-gate-dialog {
  width: min(36rem, calc(100% - 2rem));
  max-height: min(80vh, 34rem);
  margin: auto;
  padding: 1.5rem 1.35rem 1.25rem;
  overflow: auto;
  border: 1px solid rgba(21, 67, 56, 0.18);
  border-radius: 1.25rem;
  background: #faf8f5;
  color: #38313e;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

.pay-gate-dialog::backdrop {
  background: rgba(46, 39, 52, 0.48);
}

.pay-gate-dialog h2 {
  margin: 0 0 0.75rem;
  color: #154338;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
}

.pay-gate-dialog p {
  margin: 0;
}

.pay-gate-dialog form {
  margin: 1.15rem 0 0;
}

.pay-gate-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #154338;
  color: #faf8f5;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.pay-gate-close:hover {
  background: #0d2e26;
}
