  /* ============================================================
     WHITEFILM PICTURES — LOGIN PAGE (VIDPRO SPLIT-SCREEN THEME)
     ============================================================ */
  :root {
    color-scheme: light;
    --background: #0d1117;
    --card-bg: #ffffff;
    --card-border: #f0f0f2;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-sub: #9ca3af;
    --input-border: #e5e7eb;
    --input-bg: #ffffff;
    --btn-primary-bg: #111827;
    --btn-primary-fg: #ffffff;
    --btn-google-bg: #ffffff;
    --btn-google-border: #e5e7eb;
    --btn-google-fg: #1f2937;
    --divider-line: #f1f2f4;
  }

  .dark {
    color-scheme: dark;
    --background: #090a0d;
    --card-bg: #13151a;
    --card-border: #242731;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-sub: #6b7280;
    --input-border: #282b35;
    --input-bg: #191b22;
    --btn-primary-bg: #f9fafb;
    --btn-primary-fg: #111827;
    --btn-google-bg: #191b22;
    --btn-google-border: #282b35;
    --btn-google-fg: #f9fafb;
    --divider-line: #22252e;
  }

  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html, body {
    width: 100%;
    min-height: 100vh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--background);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  a { color: inherit; text-decoration: none; }
  button, input { font: inherit; color: inherit; }

  .icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .icon-back {
    width: 15px;
    height: 15px;
  }

  /* Main Split-Screen Container */
  .login-page {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(460px, 1fr);
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
    background: var(--background);
  }

  /* ============================================================
     LEFT: VISUAL SHOWCASE SIDE
     ============================================================ */
  .showcase-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 3.5vw, 3.5rem) clamp(2.5rem, 4vw, 4.5rem);
    color: #ffffff;
    overflow: hidden;
    min-height: 100vh;
  }

  /* Slideshow Images */
  .slideshow-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #0a0e14;
  }

  .slideshow-wrap img.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
  }
  .slideshow-wrap img.slide.active {
    opacity: 1;
    transform: scale(1);
  }

  /* Soft Vignette Overlay */
  .slideshow-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
      180deg,
      rgba(8, 12, 18, 0.45) 0%,
      rgba(8, 12, 18, 0.15) 30%,
      rgba(8, 12, 18, 0.85) 100%
    );
  }

  /* Top Bar (Showcase) */
  .showcase-top {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .showcase-studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .badge-glow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
    flex-shrink: 0;
  }

  .showcase-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  }
  .back-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateX(-2px);
  }

  .theme-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
  }
  .theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }
  .icon-moon { display: none; }
  .dark .icon-moon { display: block; }
  .dark .icon-sun { display: none; }

  /* Bottom Area (Showcase) */
  .showcase-bottom {
    position: relative;
    z-index: 5;
    max-width: 36rem;
    margin-top: auto;
    padding-top: 3rem;
  }

  .showcase-headline {
    font-family: "Viaoda Libre", "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.5rem, 4.3vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 1.125rem;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  }

  .showcase-desc {
    font-family: "Viaoda Libre", "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2.25rem;
    max-width: 33rem;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  }

  /* Slide Dots (Active pill + round dots) */
  .showcase-dots {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .slide-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  }
  .slide-dot.active {
    width: 26px;
    background: #ffffff;
  }

  /* ============================================================
     RIGHT: FORM CARD SIDE (LARGE ROUNDED WHITE CARD)
     ============================================================ */
  .form-card-side {
    position: relative;
    z-index: 10;
    background: var(--card-bg);
    border-radius: 36px 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 4.5rem);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.14);
    transition: background-color 0.2s ease;
  }
  .dark .form-card-side {
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    border-left: 1px solid var(--card-border);
  }

  .form-card-inner {
    width: 100%;
    max-width: 410px;
  }

  /* Form Header */
  .form-header {
    margin-bottom: 1.75rem;
  }

  .form-logo-wrap {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .form-logo-img {
    height: 44px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
  }
  .form-logo-dark {
    display: none;
  }
  .dark .form-logo-light {
    display: none !important;
  }
  .dark .form-logo-dark {
    display: block !important;
  }

  .form-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
  }

  .form-title {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 0.5rem;
  }

  .form-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.45;
  }

  /* Alerts */
  .alert {
    padding: 0.75rem 0.875rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
  }
  .alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
  }
  .dark .alert-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
  }
  .alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
  }
  .dark .alert-success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.35);
    color: #86efac;
  }

  /* Form Fields */
  .login-form {
    display: flex;
    flex-direction: column;
  }

  .field-group {
    margin-bottom: 1.125rem;
  }

  .field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.45rem;
  }

  .field-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    border: 1.5px solid var(--input-border);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text-main);
    background: var(--input-bg);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .field-input::placeholder {
    color: var(--text-sub);
  }
  .field-input:focus {
    border-color: var(--btn-primary-bg);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
  }
  .dark .field-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  }

  /* Password Wrap & Eye Toggle */
  .password-input-wrap {
    position: relative;
    width: 100%;
  }
  .password-input-wrap .field-input {
    padding-right: 48px;
  }

  .eye-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--text-sub);
    cursor: pointer;
    display: grid;
    place-items: center;
    border-radius: 8px;
    transition: color 0.15s ease;
  }
  .eye-toggle:hover { color: var(--text-main); }
  .eye-off { display: none; }
  .revealed .eye-off { display: block; }
  .revealed .eye-on { display: none; }

  /* Form Options (Remember Me + Forgot Password) */
  .form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
  }

  .remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    font-weight: 500;
  }

  .custom-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    accent-color: #111827;
    cursor: pointer;
  }

  .forgot-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.15s ease;
  }
  .forgot-link:hover {
    color: var(--text-main);
  }

  /* Primary Button (Solid Black Pill) */
  .btn-primary-login {
    width: 100%;
    height: 50px;
    border-radius: 999px;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-fg);
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }
  .btn-primary-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
    opacity: 0.94;
  }
  .btn-primary-login:active {
    transform: translateY(0);
  }

  .spinner {
    display: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
  }
  .is-loading .spinner { display: block; }
  .is-loading .btn-label { display: none; }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* Divider */
  .or-divider {
    position: relative;
    text-align: center;
    margin: 1.35rem 0;
  }
  .or-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--divider-line);
  }
  .or-divider span {
    position: relative;
    background: var(--card-bg);
    padding: 0 14px;
    font-size: 0.775rem;
    color: var(--text-sub);
    transition: background-color 0.2s ease;
  }

  /* Google Continue Button (White Outlined Pill) */
  .btn-google-continue {
    width: 100%;
    height: 50px;
    border-radius: 999px;
    background: var(--btn-google-bg);
    border: 1.5px solid var(--btn-google-border);
    color: var(--btn-google-fg);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  }
  .btn-google-continue:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: #d1d5db;
    transform: translateY(-1px);
  }
  .dark .btn-google-continue:hover {
    background: #20222a;
    border-color: #3b3e4a;
  }
  .btn-google-continue:active {
    transform: translateY(0);
  }

  .btn-google-continue .g-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* Signup Footer */
  .signup-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  .signup-footer a {
    color: var(--text-main);
    font-weight: 700;
    transition: opacity 0.15s ease;
  }
  .signup-footer a:hover {
    opacity: 0.75;
  }

  /* ============================================================
     RESPONSIVE
     ============================================================ */
  @media (max-width: 1080px) {
    .showcase-side { padding: 2.5rem; }
    .form-card-side { padding: 3rem 2.5rem; }
  }

  @media (max-width: 900px) {
    .login-page {
      grid-template-columns: 1fr;
    }
    .showcase-side {
      min-height: 400px;
      padding: 2.25rem 1.75rem 3.5rem;
    }
    .showcase-headline {
      font-size: 1.85rem;
    }
    .showcase-desc {
      font-size: 0.875rem;
      margin-bottom: 1.5rem;
    }
    .form-card-side {
      border-radius: 32px 32px 0 0;
      margin-top: -30px;
      padding: 2.5rem 1.75rem;
      box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.25);
    }
    .form-title {
      font-size: 1.95rem;
    }
  }

  @media (max-width: 440px) {
    .showcase-top-actions .back-link span { display: none; }
    .showcase-top-actions .back-link { padding: 7px; border-radius: 50%; }
    .form-card-inner { max-width: 100%; }
  }
