/* Login page ONLY: luxury black + red student-portal design.
   Loaded after unified.css on login.html only, so other pages are untouched. */
body { background: #0a0a0a; color: #f5f2ec; }
body::before { content: ''; position: fixed; inset: 0 0 auto; height: 420px; background: radial-gradient(600px 300px at 50% -60px, rgba(201,66,67,.35), transparent 70%); pointer-events: none; }
.topbar { background: #0a0a0a; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer { background: #050505; }
main.wrap { padding-top: 48px; padding-bottom: 64px; }
.login-shell { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.55); background: #121212; position: relative; }
.login-visual { position: relative; min-height: 560px; }
.login-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.login-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.05) 5%, rgba(10,10,10,.75) 55%, rgba(10,10,10,.95) 92%); }
.login-visual-text { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 36px 32px; }
.login-visual-text .eyebrow { color: #ff7a7a; }
.login-visual-text h2 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.7); font-size: clamp(26px, 3vw, 36px); line-height: 1.35; margin: 12px 0 10px; }
html[dir="ltr"] .login-visual-text h2 { font-family: 'Playfair Display', Georgia, serif; }
.login-visual-text p { color: rgba(255,255,255,.85); text-shadow: 0 1px 10px rgba(0,0,0,.7); line-height: 1.8; margin: 0 0 18px; }
.login-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.login-chips span { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 13px; font-size: 12px; color: #fff; background: rgba(10,10,10,.45); }
.login-panel { padding: 48px 44px; background: #121212; }
.login-panel .eyebrow { color: #ff7a7a; }
.login-panel h1 { color: #fff !important; font-size: clamp(32px, 4vw, 44px); margin: 14px 0 10px; }
.login-panel .muted, .login-panel p { color: rgba(255,255,255,.68); }
.login-panel .field { margin: 20px 0; }
.login-panel label span { display: block; color: #e8e2d8; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.login-panel input { background: #1c1c1c !important; border: 1px solid #333 !important; color: #fff !important; border-radius: 10px !important; padding: 14px 16px !important; }
.login-panel input::placeholder { color: #777; }
.login-panel input:focus { outline: 2px solid #c94243 !important; outline-offset: 1px; }
.login-panel .btn { background: linear-gradient(135deg, #e5484d, #a83238) !important; border: 0 !important; border-radius: 10px !important; padding: 15px !important; font-size: 15px !important; box-shadow: 0 12px 28px rgba(201,66,67,.35); width: 100%; }
.login-panel .btn:hover { transform: translateY(-1px); }
.login-demo { margin-top: 20px; border: 1px dashed rgba(255,255,255,.25); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.7; }
.login-links { margin-top: 22px; text-align: center; }
.login-links a { color: #ff7a7a; font-weight: 700; }
#loginOk.success { background: rgba(0,180,80,.14); border-color: rgba(0,180,80,.4); }
#loginOk .btn { margin-top: 14px; }
@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: 250px; }
  .login-visual-text { padding: 24px 22px; }
  .login-visual-text .eyebrow { display: none; }
  .login-visual-text h2 { font-size: 24px; }
  .login-panel { padding: 32px 22px; }
  main.wrap { padding-top: 24px; padding-bottom: 48px; }
  .nav-links { background: #111 !important; }
}
