.reset-page {
  --reset-blue: #2563eb;
  --reset-blue-dark: #1d4ed8;
  --reset-orange: #f37a1f;
  --reset-green: #16a34a;
  --reset-red: #dc2626;
  --reset-ink: #111827;
  --reset-muted: #667085;
  --reset-line: #e6eaf2;
  --reset-panel: #ffffff;
  --reset-bg: #f6f7fb;

  min-height: min(860px, calc(100vh - 80px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 18px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.07), rgba(243, 122, 31, 0.08)),
    var(--reset-bg);
  color: var(--reset-ink);
}

.reset-card {
  width: min(100%, 480px);
  background: var(--reset-panel);
  border: 1px solid var(--reset-line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
}

.reset-card-center {
  text-align: center;
}

.reset-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--reset-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.reset-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.reset-header {
  margin-bottom: 24px;
}

.reset-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.11);
  color: var(--reset-blue);
}

.reset-card-center .reset-icon {
  margin-left: auto;
  margin-right: auto;
}

.reset-icon-success {
  background: rgba(22, 163, 74, 0.12);
  color: var(--reset-green);
}

.reset-icon-info {
  background: rgba(37, 99, 235, 0.11);
  color: var(--reset-blue);
}

.reset-icon-error {
  background: rgba(220, 38, 38, 0.11);
  color: var(--reset-red);
}

.reset-icon svg,
.reset-primary svg,
.reset-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reset-page h1 {
  margin: 0 0 10px;
  color: var(--reset-ink);
  font-size: 28px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
}

.reset-header p,
.reset-subtext,
.reset-note {
  margin: 0;
  color: var(--reset-muted);
  font-size: 15px;
  line-height: 1.6;
}

.reset-note {
  margin-top: 8px;
  font-size: 14px;
}

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

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

.reset-field label {
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.reset-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--reset-line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfcfe;
  color: var(--reset-ink);
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.reset-field input:focus {
  border-color: var(--reset-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.reset-help {
  display: block;
  color: var(--reset-muted);
  font-size: 12px;
  line-height: 1.5;
}

.reset-help ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.reset-field-error,
.reset-alert {
  color: var(--reset-red);
  font-size: 13px;
  line-height: 1.5;
}

.reset-field-error ul,
.reset-alert ul {
  margin: 0;
  padding-left: 18px;
}

.reset-alerts {
  display: grid;
  gap: 10px;
}

.reset-alert {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 8px;
  background: #fff5f5;
}

.reset-primary,
.reset-secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.reset-primary {
  width: 100%;
  background: var(--reset-orange);
  color: #ffffff;
}

.reset-primary:hover,
.reset-primary:focus-visible {
  background: #d96712;
  color: #ffffff;
}

.reset-secondary {
  margin-top: 24px;
  border: 1px solid var(--reset-line);
  background: #ffffff;
  color: var(--reset-blue);
}

.reset-secondary:hover,
.reset-secondary:focus-visible {
  border-color: rgba(37, 99, 235, 0.32);
  background: rgba(37, 99, 235, 0.06);
  color: var(--reset-blue-dark);
}

.reset-inline-action {
  width: auto;
  margin-top: 24px;
}

.reset-footer {
  margin-top: 24px;
  text-align: center;
}

.reset-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--reset-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.reset-link:hover,
.reset-link:focus-visible {
  color: var(--reset-blue-dark);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .reset-page {
    align-items: flex-start;
    min-height: calc(100vh - 64px);
    padding: 24px 14px 36px;
  }

  .reset-card {
    padding: 22px 18px;
  }

  .reset-page h1 {
    font-size: 24px;
  }
}
