/* Sign-in, password reset and TeoSlot registration (templates/accounts/auth_base.html). */
.auth-body { margin: 0; min-height: 100vh; background: #f0f5fb; color: #0b1b33; font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.auth-grid { display: grid; min-height: 100vh; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .auth-grid { grid-template-columns: minmax(420px, 46%) 1fr; } }

.auth-side {
  position: relative;
  display: none;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
  color: #c3cddb;
  background:
    radial-gradient(90% 60% at 0% 0%, rgba(14, 165, 233, 0.32), transparent 60%),
    radial-gradient(70% 50% at 100% 100%, rgba(29, 78, 216, 0.45), transparent 60%),
    linear-gradient(160deg, #0b2a5b 0%, #0a1f44 100%);
}
@media (min-width: 1024px) { .auth-side { display: flex; } }
.auth-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  pointer-events: none;
}
.auth-side > * { position: relative; z-index: 1; }
.auth-side img { width: 180px; height: auto; }
.auth-side h2 { margin: 0 0 14px; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
.auth-side p { max-width: 30rem; margin: 0; font-size: 15px; line-height: 1.6; }
.auth-side ul { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.auth-side li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #dbe3ee; }
.auth-side li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 999px; background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2); }
.auth-side small { color: #66768c; font-size: 12px; }

.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-mobile-logo { display: block; width: 150px; height: auto; margin-bottom: 28px; padding: 14px 18px; border-radius: 14px; background: #0b2a5b; }
@media (min-width: 1024px) { .auth-mobile-logo { display: none; } }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -0.025em; }
.auth-card .auth-sub, .auth-card .auth-sub p { margin-top: 6px; color: #4b5a6e; font-size: 14px; }
.auth-panel { margin-top: 28px; padding: 28px; border: 1px solid #e3e8ef; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 16px 40px -12px rgba(15, 27, 45, 0.14); }
.auth-panel label, .auth-panel .auth-label { display: block; margin-bottom: 6px; color: #334155; font-size: 12.5px; font-weight: 600; }
.auth-panel input[type="text"], .auth-panel input[type="email"], .auth-panel input[type="password"], .auth-panel select {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  margin-top: 0;
  padding: 10px 14px;
  border: 1px solid #cdd5e0;
  border-radius: 11px;
  background: #fff;
  color: #0f1b2d;
  font: inherit;
  font-size: 14.5px;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-panel input:focus, .auth-panel select:focus { outline: none; border-color: #0ea5e9; box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18); }
.auth-btn {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  background: #1d4ed8;
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.3), 0 8px 20px -8px rgba(29, 78, 216, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: background 0.15s;
}
.auth-btn:hover { background: #1e40af; }
.auth-links { display: grid; gap: 8px; margin-top: 22px; text-align: center; font-size: 13.5px; }
.auth-links a { color: #1d4ed8; font-weight: 600; text-decoration: none; }
.auth-links a:hover { color: #0b2a5b; text-decoration: underline; }
.auth-alert { margin-bottom: 18px; padding: 11px 14px; border: 1px solid #bfe5cf; border-radius: 12px; background: #effaf3; color: #14603a; font-size: 13.5px; }
.auth-alert.is-error { border-color: #f5c6c0; background: #fef2f1; color: #9b2216; }
.auth-error { margin-top: 6px; color: #b42318; font-size: 12.5px; }
.auth-field + .auth-field { margin-top: 16px; }
.auth-foot { margin-top: 32px; color: #8492a6; font-size: 12px; text-align: center; }
