/* Shared form OTP modal — used by Contact Us / Work With Us */
.form-otp-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.form-otp-overlay.is-open {
  display: flex;
}

.form-otp-modal {
  width: 100%;
  max-width: 420px;
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  padding: 28px 26px 24px;
  color: #f5f3ef;
  font-family: var(--mm-font);
  position: relative;
}

.form-otp-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: #c4b8a5;
}

.form-otp-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4b8a5;
  margin-bottom: 8px;
}

.form-otp-title {
  font-family: var(--mm-font);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.form-otp-copy {
  margin: 0 0 20px;
  color: #9a9690;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-otp-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9690;
  margin-bottom: 6px;
}

.form-otp-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #2a2a2a;
  border-radius: 0;
  color: #f5f3ef;
  font-size: 1.35rem;
  letter-spacing: 0.35em;
  text-align: center;
  padding: 12px 0;
  outline: none;
}

.form-otp-field input:focus {
  border-bottom-color: #c4b8a5;
}

.form-otp-error {
  min-height: 18px;
  margin-top: 8px;
  font-size: 12px;
  color: #e57373;
}

.form-otp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.form-otp-confirm {
  flex: 1 1 auto;
  border: none;
  background: #f5f3ef;
  color: #0a0a0a;
  font-family: var(--mm-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 18px;
  cursor: pointer;
}

.form-otp-confirm:hover {
  background: #c4b8a5;
}

.form-otp-resend,
.form-otp-cancel {
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #f5f3ef;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 14px;
  cursor: pointer;
}

.form-otp-resend:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-otp-resend:not(:disabled):hover,
.form-otp-cancel:hover {
  border-color: #c4b8a5;
  color: #c4b8a5;
}

@media (max-width: 480px) {
  .form-otp-actions {
    flex-direction: column;
  }

  .form-otp-confirm,
  .form-otp-resend,
  .form-otp-cancel {
    width: 100%;
  }
}
