/* Nova Theme — auth pages (sign in / sign up / forgot password) */
:root {
  --nv-primary: #4f46e5; --nv-primary-2: #7c3aed; --nv-accent: #06b6d4; --nv-ink: #0f172a; --nv-text: #1e293b;
  --nv-muted: #64748b; --nv-border: #e6e9f2; --nv-danger: #ef4444;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body.nv-auth {
  margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px;
  color: var(--nv-text); background: #f4f6fb; -webkit-font-smoothing: antialiased; line-height: 1.55;
}
body.nv-auth a { color: var(--nv-primary); text-decoration: none; font-weight: 600; }
body.nv-auth a:hover { color: var(--nv-primary-2); }

.nv-auth-grid { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.nv-auth-side {
  position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(1200px 600px at -10% -10%, rgba(6,182,212,.35), transparent 60%),
              radial-gradient(900px 500px at 110% 110%, rgba(124,58,237,.45), transparent 60%),
              linear-gradient(160deg, #0f172a 0%, #1e1b4b 100%);
}
.nv-auth-side::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
}
.nv-auth-side > * { position: relative; z-index: 1; }
.nv-auth-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.nv-auth-brand img { max-height: 40px; }
.nv-auth-brand .nv-logo-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--nv-primary), var(--nv-accent)); display: inline-flex; align-items: center; justify-content: center; }
.nv-auth-hero h2 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: 0 0 14px; }
.nv-auth-hero h2 span { background: linear-gradient(90deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nv-auth-hero p { color: #cbd5e1; font-size: 16px; max-width: 440px; margin: 0 0 26px; }
.nv-auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nv-auth-points li { display: flex; align-items: center; gap: 12px; color: #e2e8f0; font-weight: 500; }
.nv-auth-points li i { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; color: #67e8f9; }
.nv-auth-side-foot { color: #94a3b8; font-size: 13px; }

.nv-auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.nv-auth-card { width: 100%; max-width: 440px; }
.nv-auth-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; color: var(--nv-ink); }
.nv-auth-card .nv-sub { color: var(--nv-muted); margin: 0 0 24px; }
.nv-auth-card .form-control {
  width: 100%; height: 48px; border-radius: 12px; border: 1px solid #d9deea; padding: 10px 16px; font-size: 15px; color: var(--nv-ink); background: #fff;
  transition: border-color .15s, box-shadow .15s; font-family: inherit;
}
.nv-auth-card .form-control:focus { outline: 0; border-color: var(--nv-primary); box-shadow: 0 0 0 4px rgba(79,70,229,.14); }
.nv-auth-card .input { margin-bottom: 14px; }
.nv-auth-card label { display: block; font-weight: 600; font-size: 13px; color: var(--nv-ink); margin-bottom: 6px; }
.nv-auth-card .input.checkbox label, .nv-auth-card .checkbox label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; margin: 0; }
.nv-auth-card input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--nv-primary); margin: 0; }
.nv-auth-card .error-message { color: var(--nv-danger); font-size: 12.5px; margin-top: 4px; display: block; }
.nv-auth-card .form-control.error, .nv-auth-card .form-control.form-error { border-color: var(--nv-danger); }
.nv-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 18px; font-size: 13.5px; }
.nv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-2)); color: #fff; font-size: 15px; font-weight: 700; font-family: inherit;
  box-shadow: 0 10px 24px -12px rgba(79,70,229,.9); transition: filter .15s, transform .08s;
}
.nv-btn:hover { filter: brightness(1.06); }
.nv-btn:active { transform: translateY(1px); }
.nv-btn[disabled] { opacity: .6; cursor: default; }
.nv-auth-alt { text-align: center; margin: 20px 0 0; color: var(--nv-muted); }
.nv-divider { display: flex; align-items: center; gap: 12px; color: var(--nv-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin: 22px 0 14px; }
.nv-divider::before, .nv-divider::after { content: ""; flex: 1; height: 1px; background: var(--nv-border); }
.social-auth { display: grid; gap: 10px; }
.social-auth:empty { display: none; }
.social-auth .btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border-radius: 12px; border: 1px solid var(--nv-border); background: #fff; color: var(--nv-ink); font-weight: 600; text-decoration: none; cursor: pointer; width: 100%; font-family: inherit; font-size: 14px; }
.social-auth .btn:hover { background: #f8fafc; }
.social-auth .btn-facebook i { color: #1877f2; } .social-auth .btn-twitter i { color: #1da1f2; } .social-auth .btn-google i { color: #ea4335; }
.social-auth form { margin: 0; }
.captcha { margin: 0 0 16px; }
.error-text { color: var(--nv-danger); font-size: 12.5px; display: block; margin: -8px 0 12px; }
.nv-auth-foot { margin-top: 28px; display: flex; justify-content: space-between; gap: 10px; color: var(--nv-muted); font-size: 12.5px; flex-wrap: wrap; }
.nv-auth-foot a { color: var(--nv-muted); font-weight: 500; }

/* Flash messages */
.nv-auth-card .alert, .nv-auth-card .message { border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-weight: 500; border: 1px solid transparent; }
.nv-auth-card .alert-success, .nv-auth-card .message.success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.nv-auth-card .alert-danger, .nv-auth-card .alert-error, .nv-auth-card .message.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.nv-auth-card .alert-info, .nv-auth-card .alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.nv-auth-card .alert .close { float: right; border: 0; background: none; font-size: 18px; opacity: .5; cursor: pointer; }

@media (max-width: 900px) {
  .nv-auth-grid { grid-template-columns: 1fr; }
  .nv-auth-side { padding: 28px 22px; min-height: 0; }
  .nv-auth-hero h2 { font-size: 26px; }
  .nv-auth-hero p { font-size: 14px; margin-bottom: 16px; }
  .nv-auth-points { display: none; }
  .nv-auth-side-foot { display: none; }
  .nv-auth-main { padding: 28px 18px 40px; }
}

/* Cookie bar */
#cookie-pop { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; background: var(--nv-ink); color: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); display: none; max-width: 720px; margin: 0 auto; }
#cookie-pop .container-fluid { display: flex; align-items: center; gap: 12px; padding: 0; }
#cookie-pop .col-xs-9, #cookie-pop .col-xs-3 { padding: 0; width: auto; float: none; }
#cookie-pop .col-xs-9 { flex: 1 1 auto; }
#cookie-pop a { color: #67e8f9; font-weight: 600; }
#cookie-pop .btn { background: #fff; color: var(--nv-ink); border: 0; border-radius: 10px; font-weight: 700; padding: 8px 14px; cursor: pointer; white-space: nowrap; font-family: inherit; }
