@import "./signin.css";

/* ── CrownStore — Register OTP ──────────────────────────────── */

.cs-otp.t1-auth-page {
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  align-items: center;
}

.cs-otp .cs-otp__card.t1-auth-container {
  max-width: 480px;
  width: 100%;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--theme-radius, 0px);
  box-shadow: 0 8px 32px rgba(42, 33, 24, 0.08);
}

.cs-otp__header {
  text-align: center;
  margin-bottom: 1.65rem;
}

.cs-otp__title {
  font-family: var(--theme-font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  color: #2a2118 !important;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cs-otp__subtitle {
  font-family: var(--theme-font-family, 'Jost', sans-serif);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--theme-muted, #9b8e7a);
  margin: 0;
}

.cs-otp__subtitle strong {
  color: #2a2118 !important;
  font-weight: 600;
}

.cs-otp__error.t1-auth-error {
  text-align: center;
}

.cs-otp__form.t1-auth-form {
  gap: 1.35rem;
}

/* OTP digit inputs */
.cs-otp__inputs.t1-otp-inputs {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.cs-otp__digit.t1-otp-input {
  width: 3rem;
  height: 3rem;
  text-align: center;
  font-family: var(--theme-font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 400;
  padding: 0;
  flex-shrink: 0;
  border-radius: var(--theme-radius, 0px);
  border: 1px solid var(--theme-border, #c4b8a0);
  background: var(--theme-bg, #f8f4ee);
  color: #2a2118 !important;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.cs-otp__digit.t1-otp-input:focus {
  border-color: var(--theme-accent, #b8945a);
  box-shadow: 0 0 0 3px rgba(184, 148, 90, 0.18);
  outline: none;
}

.cs-otp__submit.t1-auth-btn {
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--theme-radius, 0px);
  letter-spacing: 0.12em;
}

/* Resend block */
.cs-otp__resend {
  text-align: center;
  margin-top: 1.1rem;
  font-family: var(--theme-font-family, 'Jost', sans-serif);
  font-size: 13.5px;
  color: var(--theme-text-secondary, #6b5f54);
}

.cs-otp__resend a {
  color: var(--theme-accent, #b8945a);
  font-weight: 600;
  text-decoration: none;
}

.cs-otp__resend a:hover {
  text-decoration: underline;
}

.cs-otp__timer {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--theme-muted, #9b8e7a);
}

.cs-otp .cs-otp__links.t1-auth-links {
  flex-direction: row;
  justify-content: center;
  margin-top: 1rem;
}

.cs-otp .cs-otp__links.t1-auth-links a {
  font-weight: 600;
}