.auth-body {
  margin: 0;
  min-height: 100vh;
  color: #e2e8f0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(47, 155, 74, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 60%, rgba(56, 168, 196, 0.12), transparent 50%),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
  font-family: "Segoe UI Variable Display", "Segoe UI", "Trebuchet MS", "Gill Sans", sans-serif;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.auth-panel {
  width: min(100%, 420px);
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}

.auth-mark {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  box-shadow: 0 18px 40px rgba(47, 155, 74, 0.35);
}

.auth-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.auth-heading {
  display: grid;
  gap: 6px;
}

.auth-heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-heading p {
  margin: 0;
  color: var(--chrome-ink-muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.auth-card {
  width: 100%;
  padding: 20px 18px 18px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.45);
  text-align: left;
}

.auth-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #86efac;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-card-title svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.auth-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.auth-field > span {
  color: var(--chrome-ink-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-body .auth-field input,
.auth-body .auth-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #1e293b;
  color: var(--chrome-ink);
  font-size: 1rem;
  caret-color: var(--chrome-ink);
  -webkit-text-fill-color: var(--chrome-ink);
}

.auth-body .auth-field input:focus,
.auth-body .auth-field select:focus {
  outline: 2px solid rgba(125, 211, 252, 0.55);
  outline-offset: 1px;
  border-color: #38bdf8;
  background: #1e293b;
  color: var(--chrome-ink);
  box-shadow: none;
  caret-color: var(--chrome-ink);
  -webkit-text-fill-color: var(--chrome-ink);
}

.auth-body .auth-field input::placeholder {
  color: var(--chrome-ink-muted);
  opacity: 1;
  -webkit-text-fill-color: var(--chrome-ink-muted);
}

.auth-body .auth-field input:-webkit-autofill,
.auth-body .auth-field input:-webkit-autofill:hover,
.auth-body .auth-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--chrome-ink);
  caret-color: var(--chrome-ink);
  box-shadow: 0 0 0 1000px #1e293b inset;
  transition: background-color 99999s ease-out;
}

.auth-body .auth-password-wrap {
  position: relative;
}

.auth-body .auth-password-wrap input {
  padding-right: 72px;
}

.auth-body .auth-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--chrome-ink-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 8px;
}

.auth-body .auth-password-toggle:hover {
  color: var(--chrome-ink);
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(18, 104, 179, 0.3);
}

.auth-submit:hover {
  filter: brightness(1.05);
}

.auth-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
  font-size: 0.92rem;
}

.auth-footer-link {
  margin-top: 14px;
  text-align: center;
}

.auth-footer-link a {
  color: var(--chrome-ink-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.auth-footer-link a:hover {
  color: #86efac;
}
