.auth-page {
  min-height: 100vh;
  margin: 0;
  color: var(--slate);
  background:
    radial-gradient(circle at 10% 15%, rgba(0, 159, 217, 0.16), transparent 28rem),
    linear-gradient(145deg, #f4f9fc, #dceefa);
  font-family: Lato, Arial, sans-serif;
}

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

.auth-card {
  width: min(440px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(0, 59, 113, 0.16);
  backdrop-filter: blur(12px);
  padding: clamp(24px, 5vw, 40px);
}

.auth-brand {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto 20px;
}

.auth-card h1 {
  margin: 0 0 8px;
  color: var(--navy);
  text-align: center;
  font: 800 clamp(1.55rem, 4vw, 2.1rem)/1.2 "Plus Jakarta Sans", Arial, sans-serif;
}

.auth-intro {
  margin: 0 0 24px;
  text-align: center;
  color: #587080;
}

.auth-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.auth-field label {
  color: var(--navy);
  font-weight: 700;
}

.auth-field input {
  width: 100%;
  border: 1px solid #bfd3df;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--slate);
  padding: 12px 14px;
}

.auth-field input:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(0, 159, 217, 0.16);
}

.auth-submit,
.auth-secondary {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  text-decoration: none;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  color: #17202a;
  background: var(--orange);
  cursor: pointer;
}

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

.auth-links {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  text-align: center;
}

.auth-links a,
.auth-secondary {
  color: var(--navy);
}

.auth-message {
  min-height: 24px;
  margin: 14px 0 0;
  text-align: center;
  color: #a12626;
}

.auth-logout-button {
  border: 1px solid rgba(0, 59, 113, 0.18);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cyan);
  color: white;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.profile-button:hover {
  color: white;
  background: #008cc2;
}
