/* css/otp-verification.css */
/* Clean account registration and email verification layouts. */
.auth-page {
  min-height: 64vh;
  padding: 64px 0 78px;
  background:
    radial-gradient(circle at 82% 20%, #f1bd4322, transparent 24rem),
    #fffdf8;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1030px;
}
.auth-card,
.otp-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #e9e4d8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px #193e3110;
}
.auth-card h1,
.otp-card h1 {
  margin: 8px 0 10px;
  color: #193e31;
  font-size: clamp(2rem, 4vw, 2.65rem);
}
.auth-intro,
.otp-intro {
  margin: 0 0 24px;
  color: #68756f;
  line-height: 1.7;
}
.auth-form,
.auth-form label {
  display: grid;
  gap: 8px;
}
.auth-form {
  gap: 16px;
}
.auth-form label,
.otp-card label {
  color: #26382f;
  font-size: 0.9rem;
  font-weight: 650;
}
.auth-form input:not([type="checkbox"]),
.otp-email-field,
.otp-digit {
  width: 100%;
  border: 1px solid #dfe4da;
  border-radius: 12px;
  background: #fff;
  color: #202d28;
  font: inherit;
}
.auth-form input:not([type="checkbox"]),
.otp-email-field {
  min-height: 48px;
  padding: 11px 13px;
}
.auth-form input:focus,
.otp-digit:focus {
  border-color: #6f9b7e;
  outline: 3px solid #155b461c;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 70px !important;
}
.password-visibility {
  position: absolute;
  top: 50%;
  right: 12px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: #155b46;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  transform: translateY(-50%);
}
.password-visibility:focus-visible {
  border-radius: 4px;
  outline: 2px solid #155b46;
  outline-offset: 2px;
}
.auth-form label small {
  color: #737e76;
  font-size: 0.76rem;
  font-weight: 400;
}
.auth-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  color: #59665e !important;
  font-size: 0.82rem !important;
  font-weight: 450 !important;
}
.auth-consent input {
  width: 17px;
  height: 17px;
  accent-color: #155b46;
}
.auth-submit,
.otp-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 3px;
}
.auth-switch {
  margin: 20px 0 0;
  color: #68756f;
  text-align: center;
  font-size: 0.88rem;
}
.auth-switch a,
.otp-text-button,
.otp-back {
  color: #155b46;
  font-weight: 700;
}
.login-help {
  margin: -5px 0 0;
  text-align: right;
  font-size: 0.84rem;
}
.login-help a {
  color: #155b46;
  font-weight: 650;
}
.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 470px;
  overflow: hidden;
  padding: 36px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #133c2a22 5%, #133c2aeb 100%),
    url("../assets/images/products/balewa.jpg") center / cover,
    #155b46;
  color: #fff;
}
.auth-aside-mark {
  position: absolute;
  top: 24px;
  right: 30px;
  color: #f1bd43;
  font-size: 2.2rem;
}
.auth-aside .eyebrow {
  color: #f1bd43;
}
.auth-aside h2 {
  max-width: 340px;
  margin: 7px 0 10px;
  font: 700 clamp(1.8rem, 3vw, 2.5rem) / 1.15 "Playfair Display", Georgia, serif;
}
.auth-aside p:not(.eyebrow) {
  max-width: 350px;
  color: #f1f5ef;
  line-height: 1.7;
}
.auth-aside a {
  width: fit-content;
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
}
.otp-card {
  position: relative;
  margin-top: 20px;
  text-align: center;
}
.otp-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: #edf5ed;
  color: #155b46;
  font-size: 1.5rem;
}
.otp-card .eyebrow {
  margin: 0;
}
.otp-card h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}
.otp-intro {
  max-width: 420px;
  margin: 0 auto 22px;
}
.otp-email {
  overflow-wrap: anywhere;
  color: #26382f;
}
.otp-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.otp-fieldset legend {
  width: 100%;
  margin-bottom: 10px;
  color: #26382f;
  font-size: 0.86rem;
  font-weight: 700;
}
.otp-digits {
  display: flex;
  justify-content: center;
  gap: clamp(7px, 2vw, 12px);
}
.otp-digit {
  width: clamp(40px, 10vw, 54px);
  height: 58px;
  padding: 0;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
}
.otp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 8px;
  margin-top: 18px;
  color: #68756f;
  font-size: 0.83rem;
}
.otp-text-button,
.otp-back {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}
.otp-back {
  margin-top: 20px;
  color: #68756f;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-feedback {
  margin: 0;
  padding: 11px 13px;
  border-radius: 11px;
  background: #edf5ed;
  color: #155b46;
  font-size: 0.85rem;
  line-height: 1.5;
}
.form-feedback.error {
  background: #fbefec;
  color: #8d382b;
}
.form-feedback[hidden] {
  display: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .auth-page {
    padding: 34px 0 48px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    min-height: 280px;
    padding: 26px;
  }
}
@media (max-width: 420px) {
  .otp-card {
    padding: 22px 16px;
  }
  .otp-digit {
    height: 52px;
  }
}
