.guest-otp-modal {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(3, 2, 2, .78);
  backdrop-filter: blur(14px);
}

.guest-otp-modal.is-open {
  display: grid;
}

.guest-otp-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 24px;
  color: #fff5df;
  border: 1px solid rgba(202, 162, 75, .34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(156, 18, 29, .22), transparent 18rem),
    rgba(20, 10, 12, .98);
  box-shadow: 0 28px 100px rgba(0, 0, 0, .6);
}

.guest-otp-modal__close {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 40px;
  height: 40px;
  color: #fff5df;
  border: 1px solid rgba(255, 245, 223, .18);
  border-radius: 50%;
  background: #9c121d;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.guest-otp-modal__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.guest-otp-modal__header > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #f0cd76;
  border: 1px solid rgba(202, 162, 75, .34);
  border-radius: 18px;
  background: rgba(255, 245, 223, .06);
}

.guest-otp-modal h2 {
  margin: 0 0 4px;
  color: #fff5df;
  font-size: 1.35rem;
  font-weight: 950;
}

.guest-otp-modal p {
  margin: 0;
  color: #b8a89d;
}

.guest-otp-form {
  display: grid;
  gap: 10px;
}

.guest-otp-form + .guest-otp-form {
  margin-top: 14px;
}

.guest-otp-form label {
  color: #f0cd76;
  font-weight: 900;
}

.guest-otp-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: #fff5df;
  border: 1px solid rgba(255, 245, 223, .16);
  border-radius: 16px;
  background: rgba(255, 245, 223, .07);
  direction: ltr;
  text-align: left;
}

.guest-otp-form input:focus {
  outline: none;
  border-color: rgba(202, 162, 75, .72);
  box-shadow: 0 0 0 3px rgba(202, 162, 75, .14);
}

.guest-otp-submit,
.guest-otp-resend {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #050303;
  border: 0;
  border-radius: 999px;
  background: #caa24b;
  font-weight: 950;
  cursor: pointer;
}

.guest-otp-resend {
  color: #fff5df;
  border: 1px solid rgba(255, 245, 223, .16);
  background: rgba(255, 245, 223, .07);
}

.guest-otp-submit:disabled,
.guest-otp-resend:disabled {
  opacity: .62;
  cursor: wait;
}

.guest-otp-message {
  min-height: 24px;
  margin-top: 14px;
  color: #f0cd76;
  font-weight: 850;
}

.guest-otp-message.is-error {
  color: #ffb3b9;
}

.guest-comment-note,
.comment-form-message {
  margin: 6px 0 0;
  color: var(--ceremony-muted, #b8a89d);
  font-size: .92rem;
}

.comment-form-message.is-error {
  color: #ffb3b9;
}

.comment-form-message.is-success {
  color: #f0cd76;
}

@media (max-width: 520px) {
  .guest-otp-modal__dialog {
    padding: 20px;
    border-radius: 22px;
  }
}
