.auth-reset-page {
  min-height: 72vh;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
  display: flex;
  align-items: center;
  background: #F9FAFB;
}

.auth-reset-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  width: min(100%, 68rem);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  background: #FFFFFF;
  box-shadow: 0 1rem 3rem rgba(31, 41, 55, 0.08);
}

.auth-reset-context {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 4px solid #4A6CF7;
  background: #EEF2FF;
}

.auth-reset-context .reset-kicker {
  margin: 0 0 1rem;
  color: #4A6CF7;
  font-size: 0.875rem;
  font-weight: 700;
}

.auth-reset-context h1 {
  margin: 0 0 1rem;
  color: #1F2937;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.auth-reset-context > p:not(.reset-kicker) {
  color: #4B5563;
  line-height: 1.7;
}

.auth-reset-steps {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: reset-step;
}

.auth-reset-steps li {
  position: relative;
  min-height: 2rem;
  padding: 0.25rem 0 0.25rem 2.75rem;
  color: #1F2937;
  line-height: 1.5;
  counter-increment: reset-step;
}

.auth-reset-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #C7D2FE;
  border-radius: 50%;
  background: #FFFFFF;
  color: #4A6CF7;
  content: counter(reset-step);
  font-size: 0.875rem;
  font-weight: 700;
}

.auth-reset-panel {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.auth-reset-panel h2 {
  margin: 0 0 0.75rem;
  color: #1F2937;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
}

.auth-reset-description {
  margin: 0 0 1.5rem;
  color: #4B5563;
  line-height: 1.65;
}

.auth-reset-panel .form-control {
  min-height: 3rem;
  border-color: #D1D5DB;
}

.auth-reset-panel .form-control:focus {
  border-color: #4A6CF7;
  box-shadow: 0 0 0 0.2rem rgba(74, 108, 247, 0.18);
}

.auth-reset-panel .btn-primary {
  min-height: 3rem;
  border-color: #4A6CF7;
  background: #4A6CF7;
  font-weight: 600;
}

.auth-reset-panel .btn-primary:hover,
.auth-reset-panel .btn-primary:focus-visible {
  border-color: #3657DD;
  background: #3657DD;
}

.auth-reset-panel a {
  color: #3657DD;
}

.auth-reset-panel a:focus-visible,
.auth-reset-panel button:focus-visible {
  outline: 3px solid rgba(74, 108, 247, 0.45);
  outline-offset: 3px;
}

.auth-reset-notice {
  padding: 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  background: #F9FAFB;
  color: #1F2937;
  line-height: 1.65;
}

.auth-reset-notice p:last-child {
  margin-bottom: 0;
}

.auth-reset-notice-error {
  border-color: #FECACA;
  background: #FEF2F2;
  color: #991B1B;
}

.auth-reset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .auth-reset-page {
    min-height: auto;
    padding: 1rem 0.75rem 2rem;
  }

  .auth-reset-layout {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 0.75rem;
  }

  .auth-reset-context {
    padding: 1.5rem;
  }

  .auth-reset-context h1 {
    max-width: 18ch;
    font-size: 1.75rem;
  }

  .auth-reset-context > p:not(.reset-kicker) {
    margin-bottom: 0;
  }

  .auth-reset-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .auth-reset-steps li {
    padding: 2.5rem 0 0;
    font-size: 0.875rem;
  }

  .auth-reset-panel {
    padding: 1.5rem;
  }
}
