body.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(8, 57, 54, 0.94), rgba(21, 94, 117, 0.78)),
    #eef6f6;
}

.auth-card,
.account-card {
  width: min(100%, 520px);
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--orange);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-card h1,
.account-card h1,
.auth-card p,
.account-card p {
  margin: 0;
}

.auth-card h1,
.account-card h1 {
  color: var(--teal-dark);
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1;
}

.auth-card p,
.account-card p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #c8d8de;
  border-radius: 8px;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.13);
}

.auth-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 110px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5faf9;
}

.auth-captcha span,
.google-auth span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-captcha strong {
  display: block;
  margin-top: 4px;
  color: var(--teal-dark);
}

.auth-captcha button,
.auth-submit,
.account-action {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.auth-captcha button {
  padding: 0 12px;
  background: #e1edf9;
  color: var(--blue);
}

.auth-submit,
.account-action.primary {
  background: var(--orange);
  color: #fff;
}

.auth-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.auth-status {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 800;
}

.auth-status.ok {
  color: #08785c;
}

.google-auth {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.auth-links,
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-links a,
.account-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
  font-weight: 900;
}

.account-meta {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: #f5faf9;
}

.account-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.account-meta strong {
  color: var(--teal-dark);
  text-align: right;
}

@media (max-width: 520px) {
  .auth-captcha {
    grid-template-columns: 1fr;
  }
}
