:root {
  color-scheme: light;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f4f7f5;
  color: #1e2b24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(75, 164, 105, .13), transparent 30%),
    linear-gradient(145deg, #f7faf8 0%, #edf4ef 100%);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 34px;
  border: 1px solid rgba(65, 145, 91, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 26px 80px rgba(36, 62, 47, .14);
}

.auth-card[hidden] {
  display: none;
}

.auth-reset-card {
  margin-top: 18px;
}

.reset-help {
  margin: -4px 0 2px;
  color: #64736a;
  font-size: 13px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0;
  color: #43a667;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
}

label {
  display: grid;
  gap: 8px;
  color: #24372d;
  font-size: 14px;
  font-weight: 800;
}

input {
  width: 100%;
  border: 1px solid #d9e8de;
  border-radius: 8px;
  background: #fbfdfb;
  color: #17241d;
  font: inherit;
  outline: none;
  padding: 13px 14px;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  min-height: 34px;
  height: 34px;
  padding: 7px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6a7b70;
  box-shadow: none;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: #edf7ef;
  color: #2d8752;
  box-shadow: none;
}

.password-eye {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-eye-closed {
  display: none;
}

.password-toggle.is-visible .password-eye-open {
  display: none;
}

.password-toggle.is-visible .password-eye-closed {
  display: block;
}

input:focus {
  border-color: #43a667;
  box-shadow: 0 0 0 4px rgba(67, 166, 103, .13);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #43a667;
  color: #fff;
  box-shadow: 0 14px 30px rgba(67, 166, 103, .22);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

.status,
.switch {
  margin: 0;
  color: #64736a;
  line-height: 1.6;
}

.switch a {
  color: #2d8752;
  font-weight: 900;
  text-decoration: none;
}
