/* Login and password reset pages */
.auth-page {display: flex; justify-content: center; padding: clamp(1rem, 4vw, 3rem) 1rem;}
.auth-card {
  width: min(100%, 380px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid #dfe7ed;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 42, 67, .08);
}
.auth-card-wide {width: min(100%, 460px);}
.auth-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: .9rem;
  background: #eaf6fc; color: #0083b0; font-size: 1.5rem;
}
.auth-card-title {margin-bottom: 1.25rem; font-size: 1.5rem; font-weight: 700;}
/* Login and password reset: icon and title on one row, to save height (samia#133) */
.auth-card-heading {display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem;}
.auth-card-heading .auth-card-icon, .auth-card-heading .auth-card-title {margin-bottom: 0;}
.auth-card .btn-primary {border-radius: 999px; font-weight: 600; padding: .6rem 1rem;}
.auth-card .form-control {border-radius: .6rem;}
.auth-help {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.5rem; padding: .75rem 1rem; border-radius: .75rem;
  background: #eaf6fc; color: #00587a; font-size: .9rem;
}
.auth-help a {color: inherit; font-weight: 600;}

/* Login: the left stage shows Sam off */
.auth-stage {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 25% 20%, #3aa0f0 0%, #1c6fd0 45%, #0a3f8f 100%);
}
.auth-stage::before, .auth-stage::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.auth-stage::before {width: 520px; height: 520px; top: -180px; right: -160px;}
.auth-stage::after {width: 360px; height: 360px; bottom: -140px; left: -100px;}
.auth-sam {position: relative; z-index: 1; padding: 2rem; max-width: 520px; text-align: center;}
.auth-kicker {margin-bottom: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85;}
.auth-sam h1 {margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700;}
.auth-sam-stage {position: relative; display: flex; justify-content: center; margin-bottom: 1.5rem;}
.auth-sam-glow {
  position: absolute; inset: 0; margin: auto; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 70%);
}
.auth-sam-mascot {position: relative; width: 220px; height: auto; filter: drop-shadow(0 18px 28px rgba(0, 20, 70, .35));}
.auth-chat {display: flex; flex-direction: column; align-items: center; gap: .6rem;}
.auth-bubble {
  margin: 0; padding: .6rem 1.1rem; max-width: 100%; border-radius: 1.1rem 1.1rem 1.1rem .3rem;
  background: rgba(255, 255, 255, .95); color: #0b3a6b; font-size: .95rem; font-weight: 500; text-align: left;
  box-shadow: 0 6px 18px rgba(0, 20, 70, .25);
}
.auth-bubble-soft {background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .35);}
@media (prefers-reduced-motion: no-preference) {
  .auth-bubble {opacity: 0; transform: translateY(10px); animation: auth-pop .5s ease-out forwards; animation-delay: calc(.6s + var(--i) * .9s);}
  .auth-sam-mascot {animation: auth-float 4s ease-in-out infinite;}
}
@keyframes auth-pop {to {opacity: 1; transform: none;}}
@keyframes auth-float {0%, 100% {transform: translateY(0);} 50% {transform: translateY(-8px);}}
.auth-card label {display: block; margin-bottom: .35rem; font-weight: 600;}
.auth-card input[type="email"] {
  display: block; width: 100%; padding: .5rem .75rem; border: 1px solid #ced4da; border-radius: .6rem;
}
.auth-card input[type="email"]:focus {border-color: #0083b0; outline: 3px solid rgba(0, 131, 176, .2);}
