/* ===========================================================
   AUTH PAGES — split screen layout
   =========================================================== */

.auth-wrap { min-height: 100vh; display: flex; }

.auth-side {
  flex: 1 1 44%;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
}
.auth-side::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(120deg, rgba(255,255,255,.035) 0 2px, transparent 2px 88px);
}
.auth-side-content { position: relative; z-index: 1; max-width: 420px; }
.auth-side .brand-mark { background: rgba(255,255,255,.12); }
.auth-quote { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.35; font-weight: 700; margin-top: 2.4rem; }
.auth-route-list { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: .85rem; }
.auth-route-list li { display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.8); font-size: .92rem; }
.auth-route-list i { color: var(--red); }

.auth-form-side {
  flex: 1 1 56%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: var(--gray-bg);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.4rem 2.2rem;
}

.auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.5rem 0 1.1rem; color: var(--text-muted); font-size: .78rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--gray-200); }
.demo-role-btn { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .75rem .4rem; font-size: .74rem; line-height: 1.1; }
.demo-role-btn i { font-size: 1.25rem; }

.form-label-sm { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--navy); margin-bottom: .4rem; }
.password-toggle-wrap { position: relative; }
.password-toggle-btn { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); }

.otp-inputs { display: flex; gap: .7rem; justify-content: center; }
.otp-inputs input {
  width: 52px; height: 58px; text-align: center;
  font-size: 1.4rem; font-weight: 700; font-family: var(--font-display);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); color: var(--navy);
}
.otp-inputs input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(30,111,217,.15); }

@media (max-width: 991px) {
  .auth-side { display: none; }
  .auth-form-side { flex: 1 1 100%; }
}
