:root {
  --reset-bg: linear-gradient(180deg, #eef4ff 0%, #f7fbff 45%, #ffffff 100%);
  --reset-card-bg: rgba(255, 255, 255, 0.9);
  --reset-border: rgba(20, 80, 184, 0.14);
  --reset-shadow: 0 20px 60px rgba(18, 52, 110, 0.12);
  --reset-primary: #1450b8;
  --reset-primary-hover: #0f4298;
  --reset-accent: #35a696;
  --reset-text: #1f2937;
  --reset-muted: #5f6b7a;
  --reset-input-bg: rgba(255, 255, 255, 0.96);
  --reset-input-border: rgba(20, 80, 184, 0.18);
  --reset-focus-ring: rgba(53, 166, 150, 0.18);
}

.reset-page {
  min-height: calc(100vh - 220px);
  padding: 3rem 1.25rem 4rem;
  background: var(--reset-bg);
}

.reset-shell {
  max-width: 760px;
  margin: 0 auto;
}

.reset-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 24px;
  background: var(--reset-card-bg);
  border: 1px solid var(--reset-border);
  box-shadow: var(--reset-shadow);
  backdrop-filter: blur(10px);
}

.reset-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--reset-primary), var(--reset-accent));
}

.reset-card__head {
  margin-bottom: 1.75rem;
}

.reset-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--reset-primary);
  background: rgba(20, 80, 184, 0.08);
  border: 1px solid rgba(20, 80, 184, 0.12);
  border-radius: 999px;
}

.reset-card__head h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: var(--reset-text);
}

.reset-card__head p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--reset-muted);
  max-width: 56ch;
}

.reset-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reset-field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.reset-field label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--reset-text);
}

.reset-field input {
  width: 100%;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  color: var(--reset-text);
  background: var(--reset-input-bg);
  border: 1px solid var(--reset-input-border);
  border-radius: 16px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.reset-field input::placeholder {
  color: #8b97a8;
}

.reset-field input:focus {
  border-color: var(--reset-accent);
  box-shadow: 0 0 0 5px var(--reset-focus-ring);
  transform: translateY(-1px);
}

.reset-btn {
  width: 100%;
  min-height: 56px;
  padding: 1rem 1.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--reset-accent), var(--reset-primary));
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
  box-shadow: 0 16px 30px rgba(20, 80, 184, 0.22);
}

.reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(20, 80, 184, 0.28);
}

.reset-btn:active {
  transform: translateY(0);
}

.reset-links {
  text-align: center;
  margin-top: 0.25rem;
}

.reset-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--reset-primary);
  text-decoration: none;
}

.reset-links a:hover {
  text-decoration: underline;
}

.link-small {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .reset-page {
    padding: 2rem 1rem 3rem;
  }

  .reset-card {
    padding: 1.4rem;
    border-radius: 20px;
  }

  .reset-card__head h1 {
    font-size: 1.7rem;
  }

  .reset-card__head p {
    font-size: 0.95rem;
  }

  .reset-field input,
  .reset-btn {
    min-height: 52px;
  }
}

@media (max-width: 480px) {
  .reset-page {
    padding: 1.25rem 0.75rem 2.5rem;
  }

  .reset-card {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .reset-badge {
    font-size: 0.78rem;
  }

  .reset-card__head h1 {
    font-size: 1.45rem;
  }

  .reset-field label {
    font-size: 0.95rem;
  }

  .reset-field input {
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  .reset-btn {
    font-size: 0.98rem;
    border-radius: 14px;
  }
}