/* =========================
   THEME VARIABLES
   (Last definitions take precedence as requested)
   ========================= */
:root {
  --accent: #B067F3;
  --gradient-start: #B067F3;     /* last-added value kept */
  --gradient-end: #736efe;
  --text-light: #e1e1e6;
  --text-secondary: #9a9ba1;
  --card-bg: rgba(30, 30, 37, 0.75);
  --overlay-bg: rgba(0, 0, 0, 0.5);
}

/* Reset & sizing */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body { background: #000; }

/* Background video — using your last version */

/* Background Video — fixed, full-viewport, above the body background */
#bg-video {
  position: fixed;
  inset: 0;           /* top/right/bottom/left: 0 */
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;         /* <-- not negative, so it isn't behind the page background */
  transform: none;
  pointer-events: none;
}

/* Overlay sits above the video, below the content */
.video-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* Content sits above overlay */
.login-card { position: relative; z-index: 2; }
.d-flex.vh-100 { position: relative; z-index: 2; }


/* Login card (“glass”) */
.login-card {
  max-width: 400px;
  width: 100%;
  background: var(--card-bg);
  border: none;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

/* Headings & subheading */
.login-card .card-title {
  font-size: 2rem;
  color: var(--accent);
  text-align: center;
}
.login-card .subheading {
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Form labels */
.login-card .form-label {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Inputs */
.login-card .form-control {
  background: transparent !important;
  color: var(--text-light) !important;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.login-card .form-control::placeholder { color: var(--text-secondary); }
.login-card .form-control:focus {
  border-color: var(--accent);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Gradient primary button */
.login-btn {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}
.login-btn:hover { opacity: 0.9; }

/* Links */
.login-card a.text-info { color: var(--accent); text-decoration: none; }
.login-card a.text-info:hover { text-decoration: underline; }
.login-card .text-secondary { color: var(--text-secondary) !important; }
.login-card .text-secondary a { color: var(--accent) !important; }

/* Google button (kept from your earlier block; not overridden later) */
.btn-google {
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-google img { margin-right: 0.5rem; }

/* Optional: global helpers preserved */
.text-info { color: var(--accent) !important; }
.text-secondary { color: var(--text-secondary) !important; }
