/* auth.css: login + password pages */
body.auth-page .public-main { max-width: none; margin: 0; padding: 0; }

.auth-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }

/* ---- Hero ---- */
.auth-hero {
  position: relative; overflow: hidden; color: #fff;
  background: url('../images/login-hero.jpg') center / cover no-repeat,
              url('../images/login-hero.png') center / cover no-repeat,
              linear-gradient(145deg, #FF6600 0%, #FF8A3D 38%, #3B82F6 100%);
}
/* darker at top and bottom (where the white text sits), light in the middle so the artwork shows */
.auth-hero::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,37,89,.28) 0%, rgba(27,37,89,.06) 38%, rgba(27,37,89,.5) 100%); }
.auth-hero::after {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -140px;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%);
}
.auth-hero-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 64px); }
.auth-hero h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 600; line-height: 1.15; margin-bottom: 14px; }
.auth-hero .lead { color: rgba(255,255,255,.9); max-width: 460px; font-size: 1.05rem; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; max-width: 460px; }
.hero-points li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.28); }
.hero-points i { width: 22px; text-align: center; }
.hero-foot { font-size: .85rem; color: rgba(255,255,255,.85); }

/* ---- Panel ---- */
.auth-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px; gap: 18px; }
.auth-card { width: 100%; max-width: 460px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.auth-title { font-size: 1.6rem; font-weight: 600; margin-bottom: 4px; }
.auth-sub { color: var(--ink-2); margin-bottom: 18px; }

.auth-tabs { background: #EEF1F8; padding: 5px; border-radius: 14px; gap: 4px; margin-bottom: 20px; }
.auth-tabs .nav-link { color: var(--ink-2); font-weight: 600; border-radius: 10px; padding: .55rem .8rem; }
.auth-tabs .nav-link.active { color: #fff; background: linear-gradient(180deg, #FF7A1F, var(--orange)); box-shadow: var(--shadow-orange); }

.pw-wrap .form-control { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); border-radius: 10px; }
.pw-toggle:hover { color: var(--blue); background: var(--blue-soft); }

.auth-note { text-align: center; color: var(--muted); font-size: .84rem; margin: 14px 0 0; }
.auth-support { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--ink-2); }
.auth-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: .82rem; color: var(--muted); }
.auth-legal a { color: var(--ink-2); }
.auth-legal a:hover { color: var(--blue); }

/* ---- Password rules checklist ---- */
.pw-rules { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 6px; font-size: .84rem; color: var(--muted); }
.pw-rules li { display: flex; align-items: center; gap: 10px; }
.pw-rules li.ok { color: var(--green); }
.pw-rules li.ok i::before { content: '\f058'; font-weight: 900; }   /* solid check-circle */

@media (max-width: 991.98px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
  .auth-panel { min-height: 100vh; justify-content: flex-start; padding-top: 32px; }
}
.auth-mobile-art { display: block; width: min(100%, 360px); margin: 0 auto 4px; }