:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172234;
}

.auth-assist {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 16px;
}

.auth-assist a,
.reset-link {
  color: #167b60;
  font-weight: 700;
  text-decoration: none;
}

.auth-assist a:hover,
.auth-assist a:focus-visible,
.reset-link:hover,
.reset-link:focus-visible {
  text-decoration: underline;
}

.reset-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(45, 179, 142, 0.22),
      transparent 32rem
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 183, 77, 0.20),
      transparent 30rem
    ),
    linear-gradient(145deg, #f7fffc, #edf4ff);
}

.reset-shell {
  width: min(100%, 560px);
}

.reset-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #146b57;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.reset-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, #197d65, #37bd91);
  box-shadow: 0 12px 28px rgba(25, 125, 101, 0.25);
}

.reset-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 34, 52, 0.08);
  border-radius: 28px;
  padding: clamp(28px, 6vw, 48px);
  box-shadow: 0 24px 70px rgba(38, 72, 92, 0.14);
}

.reset-card h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1.15;
}

.reset-intro {
  margin: 0 0 28px;
  color: #5c6878;
  line-height: 1.6;
}

.reset-form {
  display: grid;
  gap: 18px;
}

.reset-field {
  display: grid;
  gap: 8px;
}

.reset-field span {
  font-weight: 700;
}

.reset-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c9d5d1;
  border-radius: 12px;
  background: #fff;
  color: #172234;
  font: inherit;
}

.reset-field input:focus {
  border-color: #167b60;
  outline: 3px solid rgba(22, 123, 96, 0.14);
}

.reset-button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #167b60;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.reset-button:hover:not(:disabled) {
  background: #10634d;
}

.reset-button:disabled {
  cursor: default;
  opacity: 0.58;
}

.reset-message {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.5;
}

.reset-message.success {
  background: #e8f6f1;
  color: #12654f;
}

.reset-message.error {
  background: #fff0ed;
  color: #9e332b;
}

.reset-footer {
  margin: 24px 0 0;
  text-align: center;
  color: #667384;
}

[hidden] {
  display: none !important;
}
