  /* ============ LOGIN BACKGROUND ============ */
  #login-view {
    min-height: 100vh;
    background-image:
      linear-gradient(to top, rgba(0,0,0,.86) 0%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.84) 100%),
      radial-gradient(circle at 50% 48%, rgba(0,0,0,.14) 0%, rgba(0,0,0,.62) 100%),
      url('../shared/bmw-f90.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  @media (max-width: 768px) { #login-view { background-attachment: scroll; } }

  .login-card {
    width: 100%;
    max-width: 450px;
    background-color: rgba(0,0,0,.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0,0,0,.75);
  }

  /* Floating Label */
  .floating-group { position: relative; width: 100%; }
  .floating-input {
    width: 100%; height: 50px; padding: 16px 20px 0 20px;
    background-color: #333; border: 0; border-bottom: 2px solid transparent;
    border-radius: 4px; color: #fff; font-size: 16px; outline: none;
    transition: background-color .2s ease, border-color .2s ease;
  }
  .floating-input:focus { background-color: #454545; }
  .floating-input.has-error { border-bottom-color: #E87C03; }
  .floating-label {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    color: #8c8c8c; font-size: 16px; pointer-events: none;
    transition: top .16s ease, font-size .16s ease, transform .16s ease, color .16s ease;
  }
  .floating-input:focus + .floating-label,
  .floating-input:not(:placeholder-shown) + .floating-label {
    top: 7px; transform: translateY(0); font-size: 11px; font-weight: 500; color: #b3b3b3;
  }

  .custom-checkbox {
    appearance: none; -webkit-appearance: none;
    width: 16px; height: 16px; border-radius: 2px;
    background-color: #737373; cursor: pointer;
    display: inline-grid; place-content: center; flex-shrink: 0;
  }
  .custom-checkbox:checked { background-color: #b3b3b3; }
  .custom-checkbox:checked::before {
    content: ""; width: 10px; height: 10px; background-color: #000;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  }

  @keyframes spinLoader { to { transform: rotate(360deg); } }
  .btn-spinner {
    width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35);
    border-top-color: #fff; border-radius: 9999px;
    animation: spinLoader .7s linear infinite;
  }

  .social-login-btn:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
  }
  .social-login-btn:active {
    transform: translateY(0);
  }

  /* ============ POST-LOGIN VIDEO SPLASH (REDSTREAM INTRO) ============ */
  #post-login-splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
  }

  #post-login-splash.splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  #splash-merged-video {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    object-position: center;
    background-color: #000000;
    display: block;
  }
