.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0, rgba(53, 132, 91, 0.1), transparent 42%),
    #f5f8f6;
  color: #23352b;
}

.auth-loading {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  background: rgba(245, 248, 246, 0.96);
  color: #245c3b;
  font-size: 0.95rem;
  font-weight: 600;
}

.auth-loading[hidden] {
  display: none;
}

.auth-loading-spinner {
  width: 2.75rem;
  height: 2.75rem;
  border: 3px solid rgba(52, 129, 87, 0.2);
  border-top-color: #348157;
  border-radius: 50%;
  animation: auth-loading-spin 750ms linear infinite;
}

@keyframes auth-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-layout {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem 1.25rem;
}

.auth-card {
  width: min(100%, 440px);
  padding: clamp(1.5rem, 6vw, 2.5rem);
  border: 1px solid rgba(37, 83, 57, 0.08);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.25rem 3.5rem rgba(28, 62, 43, 0.1);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.auth-brand-mark {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 2.45rem;
  place-items: center;
  border-radius: 0.8rem;
  background: #e7f2e9;
  color: #348157;
  font-size: 1.2rem;
}

.auth-brand-mark .footprint-icon {
  width: 1rem;
  height: 1.5rem;
}

.auth-brand-mark.app-logo-mark {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: 220% 220%;
}

.auth-brand-name {
  color: #20372a;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.auth-heading {
  margin-bottom: 1.75rem;
  text-align: left;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #348157;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.auth-eyebrow::before {
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.auth-heading h1 {
  max-width: 18rem;
  margin: 0.55rem 0 0;
  color: #20372a;
  font-size: clamp(1.8rem, 7vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.auth-heading p {
  max-width: 19rem;
  margin: 0.65rem 0 0;
  color: #718078;
  font-size: 0.88rem;
  line-height: 1.6;
}

.auth-error {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #f1c7c3;
  border-radius: 0.8rem;
  background: #fff5f4;
  color: #9c332b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.auth-error[hidden] {
  display: none;
}

.auth-error i {
  margin-top: 0.1rem;
  font-size: 1rem;
}

.biometric-setup-layout {
  padding-top: max(2rem, env(safe-area-inset-top, 0px));
}

.biometric-setup-card {
  text-align: center;
}

.biometric-setup-icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1.4rem;
  place-items: center;
  border-radius: 1.35rem;
  background: #e8f3eb;
  color: #348157;
  font-size: 2rem;
}

.fingerprint-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.biometric-setup-icon .fingerprint-icon {
  width: 2.35rem;
  height: 2.35rem;
}

.biometric-setup-card .auth-submit .fingerprint-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.biometric-setup-card .auth-heading {
  margin-bottom: 1.4rem;
  text-align: center;
}

.biometric-setup-card .auth-eyebrow::before {
  display: none;
}

.biometric-setup-card .auth-heading h1,
.biometric-setup-card .auth-heading p {
  margin-right: auto;
  margin-left: auto;
}

.biometric-setup-card .auth-heading h1 {
  font-size: clamp(1.7rem, 7vw, 2rem);
}

.biometric-setup-card .auth-submit {
  width: 100%;
}

.biometric-skip-button {
  margin-top: 0.75rem;
}

.biometric-setup-note {
  margin: 1rem 0 0;
  color: #849189;
  font-size: 0.72rem;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 1.2rem;
}

.auth-field label {
  display: block;
  margin-bottom: 0.5rem;
  color: #34463b;
  font-size: 0.82rem;
  font-weight: 600;
}

.auth-phone-control,
.auth-password-control {
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  border: 1px solid #dfe7e1;
  border-radius: 0.8rem;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.auth-phone-control:focus-within,
.auth-password-control:focus-within {
  border-color: #63a27a;
  box-shadow: 0 0 0 0.2rem rgba(52, 129, 87, 0.12);
}

.auth-country-code {
  display: grid;
  min-width: 3.5rem;
  align-self: stretch;
  place-items: center;
  border-right: 1px solid #e8ede9;
  color: #5b6d61;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-input {
  width: 100%;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
  color: #23352b;
  font: inherit;
  font-size: 0.92rem;
}

.auth-input::placeholder {
  color: #a0aaa4;
}

.auth-field small {
  display: block;
  margin-top: 0.45rem;
  color: #89958e;
  font-size: 0.74rem;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-label-row a {
  margin-bottom: 0.5rem;
  color: #348157;
  font-size: 0.77rem;
  font-weight: 600;
  text-decoration: none;
}

.auth-label-row a:hover,
.auth-label-row a:focus-visible {
  color: #256c43;
  text-decoration: underline;
}

.auth-password-control {
  padding-right: 0.35rem;
}

.auth-password-toggle {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #718078;
  font-size: 1.1rem;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  background: #f2f6f3;
  color: #348157;
}

.auth-submit {
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 0.8rem;
  background: #348157;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 150ms ease, transform 150ms ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  background: #286b45;
}

.auth-submit:focus-visible,
.auth-password-toggle:focus-visible,
.auth-register:focus-visible {
  outline: 3px solid rgba(52, 129, 87, 0.3);
  outline-offset: 3px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.4rem 0;
  color: #9aa49e;
  font-size: 0.76rem;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: #e9eeeb;
  content: "";
}

.auth-register {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid #8bb99a;
  border-radius: 0.8rem;
  background: #e5f1e8;
  color: #245c3b;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0.25rem 0.75rem rgba(37, 92, 59, 0.08);
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.password-reset-page .auth-register {
  margin-top: 1rem;
}

.reset-otp-inputs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.reset-otp-digit {
  width: 3rem;
  min-width: 0;
  height: 3.35rem;
  padding: 0.35rem;
  border: 1px solid #dfe7e1;
  border-radius: 0.8rem;
  outline: 0;
  background: #fff;
  color: #23352b;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 650;
  text-align: center;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.reset-otp-digit:focus {
  border-color: #63a27a;
  box-shadow: 0 0 0 0.2rem rgba(52, 129, 87, 0.12);
}

.auth-register:hover {
  border-color: #548b67;
  background: #d8eadc;
  color: #1d5032;
  box-shadow: 0 0.35rem 0.9rem rgba(37, 92, 59, 0.13);
}

.auth-register i {
  font-size: 1rem;
}

.auth-footer {
  margin: 1.25rem 0 0;
  color: #849189;
  font-size: 0.76rem;
  text-align: center;
}

.auth-support-card {
  width: min(100%, 440px);
  padding: 1rem;
  border: 1px solid #e4ece6;
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 0.75rem 1.8rem rgba(12, 57, 38, 0.12);
}

.auth-support-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.auth-support-icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  place-items: center;
  border-radius: 0.75rem;
  background: #edf5ef;
  color: #348157;
  font-size: 1rem;
}

.auth-support-heading h2 {
  margin: 0;
  color: #20372a;
  font-size: 0.88rem;
  font-weight: 700;
}

.auth-support-heading p {
  margin: 0.15rem 0 0;
  color: #748179;
  font-size: 0.72rem;
  line-height: 1.35;
}

.auth-support-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.auth-support-action {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  border: 1px solid #e8efea;
  border-radius: 0.8rem;
  background: #fbfcfb;
  color: #40564a;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.auth-support-action:hover,
.auth-support-action:focus-visible {
  border-color: #b9d8c2;
  background: #f3f8f4;
  color: #286b50;
}

.auth-support-action:active {
  transform: scale(0.97);
}

.auth-support-action-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ec;
  color: #348157;
  font-size: 1rem;
}

.auth-support-action .auth-whatsapp-icon {
  background: #e6f5eb;
  color: #25834b;
}

.auth-support-action:disabled {
  border-color: #edf0ee;
  background: #f7f8f7;
  color: #a1aaa4;
  cursor: not-allowed;
  opacity: 0.72;
}

.auth-support-action:disabled .auth-support-action-icon {
  background: #ecefed;
  color: #9aa49d;
}

.auth-support-action:disabled .auth-whatsapp-icon {
  background: #edf3ee;
  color: #8ca795;
}

.auth-support-action:focus-visible {
  outline: 3px solid rgba(52, 129, 87, 0.3);
  outline-offset: 2px;
}

.auth-support-note {
  margin: 0.6rem 0 0;
  color: #8a968e;
  font-size: 0.67rem;
  text-align: center;
}

[data-theme="dark"] .auth-support-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: #20243a;
}

[data-theme="dark"] .auth-support-heading h2 {
  color: #edf1ed;
}

[data-theme="dark"] .auth-support-heading p,
[data-theme="dark"] .auth-support-note,
[data-theme="dark"] .biometric-setup-note {
  color: #a9b5ad;
}

[data-theme="dark"] .auth-support-action {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e0da;
}

[data-theme="dark"] .auth-support-action:disabled {
  background: rgba(255, 255, 255, 0.025);
  color: #8f9b93;
}

@media (max-width: 480px) {
  .auth-page {
    position: relative;
    overflow-x: hidden;
    background:
      radial-gradient(ellipse at 100% 0, color-mix(in srgb, var(--app-primary, #348157) 65%, #fff) 0, transparent 42%),
      linear-gradient(155deg, var(--app-secondary, #286b50), var(--app-primary, #348157));
    color: #fff;
  }

  .auth-page::before {
    position: fixed;
    top: 20%;
    right: -7rem;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, 0.035), 0 0 0 5rem rgba(255, 255, 255, 0.025);
    content: "";
    pointer-events: none;
  }

  .auth-layout {
    position: relative;
    z-index: 1;
    justify-content: center;
    gap: 0.8rem;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(0.8rem, env(safe-area-inset-bottom));
  }

  .auth-card {
    width: min(100%, 400px);
    margin: auto 0;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    box-shadow: 0 1.25rem 3rem rgba(12, 57, 38, 0.2);
  }

  .auth-brand {
    justify-content: flex-start;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .auth-brand-mark {
    width: 2.45rem;
    height: 2.45rem;
    flex-basis: 2.45rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--app-secondary, #286b50);
  }

  .auth-brand-name {
    color: #fff;
    font-size: 1.25rem;
  }

  .auth-heading {
    margin-bottom: 1.25rem;
  }

  .auth-eyebrow {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.62rem;
  }

  .auth-eyebrow::before {
    background: #a9d8b8;
  }

  .auth-heading h1 {
    max-width: 18rem;
    margin-top: 0.45rem;
    color: #fff;
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  .auth-heading p {
    max-width: 19rem;
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .auth-field label {
    color: rgba(255, 255, 255, 0.94);
  }

  .auth-phone-control,
  .auth-password-control {
    border-color: rgba(255, 255, 255, 0.55);
    background: #fff;
  }

  .auth-phone-control:focus-within,
  .auth-password-control:focus-within {
    border-color: #b6e2c2;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
  }

  .auth-country-code {
    border-color: #e8ede9;
    color: #526459;
  }

  .reset-otp-inputs {
    gap: 0.45rem;
  }

  .reset-otp-digit {
    width: 2.7rem;
    height: 3.15rem;
  }

  .auth-input {
    color: #23352b;
  }

  .auth-field small {
    color: rgba(255, 255, 255, 0.72);
  }

  .auth-label-row a {
    color: #e3f3e7;
  }

  .auth-password-toggle {
    color: #5e7567;
  }

  .auth-password-toggle:hover,
  .auth-password-toggle:focus-visible {
    background: #edf5ef;
    color: var(--app-secondary, #286b50);
  }

  .auth-form {
    gap: 0.9rem;
  }

  .auth-phone-control,
  .auth-password-control {
    min-height: 3.15rem;
    border-radius: 0.78rem;
  }

  .auth-input {
    min-height: 3.05rem;
    font-size: 0.9rem;
  }

  .auth-country-code {
    min-width: 3.25rem;
  }

  .auth-password-toggle {
    width: 2.35rem;
    height: 2.35rem;
  }

  .auth-submit {
    min-height: 3.2rem;
    margin-top: 0.1rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--app-secondary, #286b50);
    box-shadow: 0 0.4rem 1rem rgba(15, 58, 39, 0.15);
  }

  .auth-submit:hover,
  .auth-submit:focus-visible {
    background: #edf6ef;
    color: var(--app-secondary, #286b50);
  }

  .auth-divider {
    margin: 0.9rem 0;
    color: rgba(255, 255, 255, 0.68);
  }

  .auth-divider::before,
  .auth-divider::after {
    background: rgba(255, 255, 255, 0.25);
  }

  .auth-register {
    min-height: 3rem;
    border-color: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.82rem;
    box-shadow: none;
  }

  .auth-register:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: none;
  }

  .auth-footer {
    margin-top: 0;
    padding-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
  }

  .auth-support-card {
    width: min(100%, 400px);
    padding: 0.85rem;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0.8rem 1.8rem rgba(12, 57, 38, 0.16);
  }

  .auth-support-actions {
    margin-top: 0.65rem;
  }

  .auth-support-action {
    padding: 0.4rem 0.2rem;
  }

  .auth-support-note {
    color: #77847c;
  }
}

@media (max-width: 360px) {
  .auth-card {
    padding: 1rem;
  }

  .auth-brand {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  .auth-layout {
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .auth-brand {
    margin-bottom: 0.55rem;
  }

  .auth-heading {
    margin-bottom: 0.8rem;
  }

  .auth-heading h1 {
    font-size: 1.7rem;
  }

  .auth-form {
    gap: 0.65rem;
  }

  .auth-phone-control,
  .auth-password-control,
  .auth-input {
    min-height: 2.9rem;
  }

  .auth-submit {
    min-height: 3rem;
  }

  .auth-divider {
    margin: 0.6rem 0;
  }

  .auth-register {
    min-height: 2.85rem;
  }

  .auth-footer {
    margin-top: 0.7rem;
  }

  .auth-support-card {
    padding: 0.7rem;
  }

  .auth-support-actions {
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-loading-spinner {
    animation: none;
  }

  .auth-phone-control,
  .auth-password-control,
  .auth-submit,
  .auth-register,
  .auth-support-action {
    transition: none;
  }
}

.password-reset-page {
  background:
    radial-gradient(
      ellipse at 50% 0,
      color-mix(in srgb, var(--app-primary, #348157) 14%, var(--app-background, #f5f8f6)),
      transparent 48%
    ),
    var(--app-background, #f5f8f6);
  color: var(--app-text, #23352b);
}

.password-reset-page .auth-card {
  border-color: var(--app-border, #e7ede9);
  background: var(--app-surface, #fff);
  box-shadow: 0 1.25rem 3.5rem color-mix(in srgb, var(--app-text, #23352b) 12%, transparent);
}

.password-reset-page .auth-brand-mark {
  background-color: color-mix(in srgb, var(--app-primary, #348157) 12%, var(--app-surface, #fff));
  color: var(--app-primary, #348157);
}

.password-reset-page .auth-brand-name,
.password-reset-page .auth-heading h1 {
  color: var(--app-text, #20372a);
}

.password-reset-page .auth-eyebrow,
.password-reset-page .reset-security-icon {
  color: var(--app-primary, #348157);
}

.password-reset-page .auth-eyebrow::before {
  background: currentColor;
}

.password-reset-page .auth-heading p,
.password-reset-page .auth-field small {
  color: var(--app-muted, #748179);
}

.password-reset-page .auth-field label {
  color: var(--app-text, #34463b);
}

.password-reset-page .auth-password-control,
.password-reset-page .auth-phone-control,
.password-reset-page .reset-otp-digit {
  border-color: var(--app-border, #dfe7e1);
  background: var(--app-surface, #fff);
}

.password-reset-page .auth-password-control:focus-within,
.password-reset-page .auth-phone-control:focus-within,
.password-reset-page .reset-otp-digit:focus {
  border-color: var(--app-primary, #63a27a);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--app-primary, #348157) 16%, transparent);
}

.password-reset-page .auth-input,
.password-reset-page .reset-otp-digit {
  color: var(--app-text, #23352b);
}

.password-reset-page .auth-submit {
  border: 1px solid var(--app-primary, #348157);
  background: var(--app-primary, #348157);
  color: #fff;
  box-shadow: 0 0.5rem 1.2rem color-mix(in srgb, var(--app-primary, #348157) 22%, transparent);
}

.password-reset-page .auth-submit:hover,
.password-reset-page .auth-submit:focus-visible {
  border-color: var(--app-secondary, #286b50);
  background: var(--app-secondary, #286b50);
  color: #fff;
}

.password-reset-page .auth-register {
  border-color: var(--app-border, #8bb99a);
  background: color-mix(in srgb, var(--app-primary, #348157) 8%, var(--app-surface, #fff));
  color: var(--app-primary, #245c3b);
  box-shadow: none;
}

.password-reset-page .auth-register:hover {
  border-color: var(--app-primary, #548b67);
  background: color-mix(in srgb, var(--app-primary, #348157) 14%, var(--app-surface, #fff));
  color: var(--app-secondary, #1d5032);
  box-shadow: none;
}

.reset-verify-heading {
  margin-bottom: 1rem;
  text-align: center;
}

.reset-verify-heading .auth-eyebrow {
  justify-content: center;
}

.reset-verify-heading h1,
.reset-verify-heading p {
  margin-right: auto;
  margin-left: auto;
}

.reset-security-icon {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto 1rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--app-primary, #348157) 18%, var(--app-border, #e7ede9));
  border-radius: 1.2rem;
  background: color-mix(in srgb, var(--app-primary, #348157) 9%, var(--app-surface, #fff));
  font-size: 1.55rem;
}

.reset-security-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.reset-delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--app-primary, #348157) 17%, var(--app-border, #e7ede9));
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--app-primary, #348157) 6%, var(--app-surface, #fff));
  color: var(--app-muted, #617267);
  font-size: 0.79rem;
  line-height: 1.5;
}

.reset-delivery-note i {
  margin-top: 0.1rem;
  color: var(--app-primary, #348157);
  font-size: 1rem;
}

.reset-delivery-note svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  color: var(--app-primary, #348157);
}

.reset-otp-inputs {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.35rem, 2vw, 0.65rem);
}

.reset-otp-digit {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 3.7rem;
  border-radius: 0.95rem;
  box-shadow: 0 0.2rem 0.55rem color-mix(in srgb, var(--app-text, #23352b) 6%, transparent);
  font-size: 1.35rem;
}

.reset-resend {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--app-border, #e7ede9);
}

.reset-resend form {
  width: 100%;
}

.reset-resend-countdown {
  display: flex;
  min-height: 1.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--app-muted, #748179);
  font-size: 0.78rem;
}

.reset-resend-countdown strong {
  color: var(--app-primary, #348157);
  font-variant-numeric: tabular-nums;
}

.reset-resend-button {
  display: flex;
  width: 100%;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--app-border, #dfe7e1);
  border-radius: 0.8rem;
  background: var(--app-surface, #fff);
  color: var(--app-primary, #348157);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  transition: background-color 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.reset-resend-button:not(:disabled):hover,
.reset-resend-button:not(:disabled):focus-visible {
  border-color: var(--app-primary, #348157);
  background: color-mix(in srgb, var(--app-primary, #348157) 7%, var(--app-surface, #fff));
}

.reset-resend-button:disabled {
  color: var(--app-muted, #748179);
  cursor: not-allowed;
  opacity: 0.58;
}

@media (max-width: 480px) {
  .password-reset-page {
    background:
      radial-gradient(
        ellipse at 100% 0,
        color-mix(in srgb, var(--app-primary, #348157) 65%, #fff) 0,
        transparent 42%
      ),
      linear-gradient(155deg, var(--app-secondary, #286b50), var(--app-primary, #348157));
    color: #fff;
  }

  .password-reset-page .auth-layout {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .password-reset-page .auth-card {
    width: min(100%, 400px);
    box-sizing: border-box;
    padding: 1.5rem 1.35rem;
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    box-shadow: 0 1.25rem 3rem color-mix(in srgb, var(--app-secondary, #23352b) 45%, transparent);
  }

  .password-reset-page .auth-brand {
    margin-bottom: 1.5rem;
  }

  .password-reset-page .auth-brand-name {
    color: #fff;
  }

  .password-reset-page .auth-eyebrow {
    color: rgba(255, 255, 255, 0.78);
  }

  .password-reset-page .auth-eyebrow::before {
    background: color-mix(in srgb, var(--app-surface, #fff) 70%, transparent);
  }

  .password-reset-page .auth-heading h1 {
    color: #fff;
  }

  .password-reset-page .auth-heading p {
    color: rgba(255, 255, 255, 0.78);
  }

  .password-reset-page .auth-field label {
    color: rgba(255, 255, 255, 0.94);
  }

  .password-reset-page .auth-field small {
    color: rgba(255, 255, 255, 0.72);
  }

  .password-reset-page .reset-security-icon {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .password-reset-page .reset-delivery-note {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
  }

  .password-reset-page .auth-submit {
    min-height: 3.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--app-surface, #fff);
    color: var(--app-secondary, #286b50);
    box-shadow: 0 0.4rem 1rem color-mix(in srgb, var(--app-secondary, #0f3a27) 35%, transparent);
  }

  .password-reset-page .auth-submit:hover,
  .password-reset-page .auth-submit:focus-visible {
    background: color-mix(in srgb, var(--app-surface, #fff) 90%, var(--app-primary, #348157));
    color: var(--app-secondary, #286b50);
  }

  .password-reset-page .auth-register {
    border-color: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .password-reset-page .auth-register:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .password-reset-page .reset-resend {
    border-top-color: rgba(255, 255, 255, 0.25);
  }

  .password-reset-page .reset-resend-countdown,
  .password-reset-page .reset-resend-countdown strong {
    color: rgba(255, 255, 255, 0.9);
  }

  .password-reset-page .reset-resend-button {
    border-color: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .password-reset-page .reset-resend-button:not(:disabled):hover,
  .password-reset-page .reset-resend-button:not(:disabled):focus-visible {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.18);
  }

  .password-reset-page .reset-resend-button:disabled {
    color: rgba(255, 255, 255, 0.62);
  }

  .password-reset-page .reset-otp-digit {
    height: 3.4rem;
  }

  .reset-security-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.8rem;
  }

  .reset-otp-digit {
    height: 3.3rem;
    border-radius: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reset-otp-digit,
  .reset-resend-button {
    transition: none;
  }
}
