:root {
  --surface: rgba(91, 42, 79, 0.05);
  --border: rgba(47, 47, 53, 0.14);
  --input-bg: rgba(251, 246, 238, 0.9);
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: rgba(242, 237, 226, 0.05);
    --border: rgba(242, 237, 226, 0.16);
    --input-bg: rgba(242, 237, 226, 0.04);
  }
}

.page {
  min-height: auto;
}

.reset-site-shell {
  padding-bottom: 40px;
}

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

.reset-shell {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.reset-intro {
  max-width: 580px;
  margin-bottom: 28px;
}

.reset-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
}

.reset-lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--color-muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
}

.panel h1 {
  margin: 0 0 12px;
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 600;
}

.panel p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-muted);
}

.form-row { margin-bottom: 18px; }

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.input-wrap {
  position: relative;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  padding-right: 72px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--color-text);
  font: inherit;
}

.confirm-input { padding-right: 14px; }

.toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 8px;
  cursor: pointer;
}

.helper {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-muted);
}

.error-region {
  min-height: 20px;
  margin: 4px 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-error);
}

button[type="submit"] {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-button-text);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(91, 42, 79, 0.16);
}

button[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.reset-footer {
  margin-top: 44px;
}

@media (max-width: 640px) {
  .reset-intro {
    margin-bottom: 22px;
  }

  .panel {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .panel h1 {
    font-size: 1.6rem;
  }
}
