  /* ============================================================
     LOGIN PAGE — FULL RESPONSIVE
     ============================================================ */
  *, *::before, *::after { box-sizing: border-box; }

  body { margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; }

  .login-page {
    min-height: 100vh;
    display: grid;
  /* ══════════════════════════════════════════════════════
     LOGIN PAGE — Premium Redesign
     ══════════════════════════════════════════════════════ */
  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    background: #080C18;
    -webkit-font-smoothing: antialiased;
  }

  .login-page {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 100vh;
  }

  /* ── VISUAL PANEL (kiri) ──────────────────────────── */
  .login-visual {
    position: relative;
    background: linear-gradient(160deg, #0F1629 0%, #1A0A3B 40%, #0A1F1A 100%);
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }

  /* Animated gradient orbs */
  .login-visual::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 15% 25%, rgba(99,102,241,0.35) 0%, transparent 55%),
      radial-gradient(ellipse at 85% 75%, rgba(16,185,129,0.25) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 10%, rgba(59,130,246,0.2) 0%, transparent 45%);
    pointer-events: none;
  }

  /* Grid pattern overlay */
  .login-visual::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }

  .login-visual-content { position: relative; z-index: 2; }

  /* Floating animated bubbles */
  .login-bubble {
    position: absolute; z-index: 1;
    border-radius: 50%;
    animation: floatBubble linear infinite;
    opacity: 0;
  }
  .login-bubble:nth-child(1) { width:200px;height:200px; background:radial-gradient(circle,rgba(99,102,241,0.15),transparent); top:-60px;right:60px; animation-duration:12s;animation-delay:0s; }
  .login-bubble:nth-child(2) { width:140px;height:140px; background:radial-gradient(circle,rgba(16,185,129,0.12),transparent); bottom:80px;left:40px; animation-duration:16s;animation-delay:2s; }
  .login-bubble:nth-child(3) { width:90px;height:90px;  background:radial-gradient(circle,rgba(59,130,246,0.18),transparent); top:40%;right:20px; animation-duration:10s;animation-delay:4s; }
  .login-bubble:nth-child(4) { width:60px;height:60px;  background:radial-gradient(circle,rgba(245,158,11,0.15),transparent); top:65%;left:30%; animation-duration:14s;animation-delay:1s; }

  @keyframes floatBubble {
    0%   { opacity:0; transform:translateY(20px) scale(0.8); }
    15%  { opacity:1; }
    85%  { opacity:1; }
    100% { opacity:0; transform:translateY(-40px) scale(1.1); }
  }

  /* Logo area */
  .login-logo-wrap {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 52px;
  }
  .login-logo {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #6366F1, #3B5BDB);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    padding: 10px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 12px 32px rgba(99,102,241,0.4);
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
  }
  .login-logo::after {
    content:'';
    position:absolute;inset:-1px;
    border-radius:19px;
    background:linear-gradient(135deg,rgba(255,255,255,0.2),transparent);
    pointer-events:none;
  }
  .login-logo:hover { transform:translateY(-4px) rotate(-3deg); box-shadow:0 0 0 1px rgba(255,255,255,0.15), 0 20px 40px rgba(99,102,241,0.5); }
  .login-logo img { width:100%;height:100%;object-fit:contain; }
  .login-logo-text .brand-name { font-size:22px;font-weight:800;color:white;letter-spacing:-0.02em;line-height:1.1; }
  .login-logo-text .brand-sub  { font-size:12px;color:rgba(255,255,255,0.45);margin-top:3px;font-weight:500; }

  /* Hero text */
  .login-hero {
    margin-bottom: 40px;
  }
  .login-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 30px;
    padding: 5px 14px;
    font-size: 11px; font-weight: 700;
    color: #A5B4FC;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 18px;
  }
  .login-hero-eyebrow::before { content:'●'; font-size:8px; animation: blink 1.8s ease infinite; }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

  .login-tagline {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
  }
  .login-tagline span {
    background: linear-gradient(90deg, #818CF8, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .login-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    max-width: 360px;
  }

  /* Stats strip */
  .login-stats {
    display: flex; gap: 24px;
    margin-bottom: 40px;
  }
  .login-stat-item { text-align: left; }
  .login-stat-num {
    font-size: 26px; font-weight: 800;
    color: white; line-height: 1;
    font-family: 'Space Mono', monospace;
    background: linear-gradient(90deg, #A5B4FC, #6EE7B7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }
  .login-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.06em; }

  /* Feature list */
  .login-features { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
  .login-feature-item {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    transition: all 0.2s;
  }
  .login-feature-item:hover { background: rgba(255,255,255,0.07); color: white; border-color: rgba(255,255,255,0.12); transform: translateX(4px); }
  .login-feature-icon {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.07);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
  }
  .login-footer { font-size: 11px; color: rgba(255,255,255,0.2); margin-top: 16px; text-align: center; }

  /* Deco circles — compat lama */
  .deco-circle { display: none; }

  /* ── FORM PANEL (kanan) ────────────────────────────── */
  .login-form-panel {
    background: #080C18;
    display: flex; align-items: center; justify-content: center;
    padding: 48px 44px;
    overflow-y: auto;
    position: relative;
  }
  .login-form-panel::before {
    content:'';
    position:absolute;
    top:-100px; right:-100px;
    width:400px; height:400px;
    background:radial-gradient(circle,rgba(99,102,241,0.08),transparent 70%);
    pointer-events:none;
  }

  .login-form-box {
    width: 100%; max-width: 400px;
    position: relative; z-index: 1;
  }

  /* Mobile logo */
  .login-mobile-header { display:none; text-align:center; margin-bottom:28px; }
  .login-mobile-logo {
    width:80px;height:80px;
    background:linear-gradient(135deg,#6366F1,#3B5BDB);
    border-radius:22px;
    display:flex;align-items:center;justify-content:center;
    padding:12px; margin:0 auto 12px;
    box-shadow:0 12px 32px rgba(99,102,241,0.4);
  }
  .login-mobile-logo img { width:100%;height:100%;object-fit:contain; }
  .login-mobile-title { font-size:22px;font-weight:800;color:white;letter-spacing:-0.02em; }
  .login-mobile-sub { font-size:12px;color:rgba(255,255,255,0.35);margin-top:3px; }

  /* Form title */
  .login-form-title {
    font-size: 24px; font-weight: 800;
    color: white; letter-spacing: -0.025em; margin-bottom: 4px;
  }
  .login-form-sub { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 28px; }

  /* Tab switcher */
  .login-tabs {
    display: flex; gap: 3px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px; padding: 4px;
    margin-bottom: 28px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .login-tabs::-webkit-scrollbar { display: none; }
  .login-tab {
    flex: 1; padding: 9px 8px; text-align: center;
    border-radius: 10px;
    font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,0.35);
    cursor: pointer; transition: all 0.2s;
    white-space: nowrap; min-width: 80px;
  }
  .login-tab:hover { color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.04); }
  .login-tab.active {
    background: linear-gradient(135deg, #3B5BDB, #6366F1);
    color: white;
    box-shadow: 0 4px 14px rgba(99,102,241,0.45);
  }

  /* Form controls */
  .login-form-box .form-group { margin-bottom: 14px; }
  .login-form-box .form-label {
    display: block;
    color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600;
    margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.06em;
  }
  .login-form-box .form-control {
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.08);
    color: white; border-radius: 11px;
    padding: 12px 15px; font-size: 14px;
    width: 100%; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
  }
  .login-form-box .form-control:focus {
    outline: none;
    border-color: rgba(99,102,241,0.6);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
    background: rgba(255,255,255,0.07);
  }
  .login-form-box .form-control::placeholder { color: rgba(255,255,255,0.2); }
  .login-form-box .form-hint { font-size:11px;color:rgba(255,255,255,0.25);margin-top:5px; }
  .login-form-box select.form-control option { background:#1E293B;color:white; }

  /* Role grid */
  .role-grid { display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:6px; }
  .role-btn {
    padding: 12px 6px;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.45);
    border-radius: 11px; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; text-align: center; font-family: inherit;
  }
  .role-btn:hover { border-color: rgba(99,102,241,0.4); color: rgba(255,255,255,0.8); background: rgba(99,102,241,0.08); }
  .role-btn.selected { border-color: #6366F1; background: rgba(99,102,241,0.2); color: white; box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }

  /* Submit button */
  .btn-login {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #3B5BDB 0%, #6366F1 60%, #818CF8 100%);
    color: white; border: none; border-radius: 12px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 20px rgba(99,102,241,0.45);
    transition: all 0.22s; margin-top: 8px;
    font-family: inherit; letter-spacing: 0.01em;
    position: relative; overflow: hidden;
  }
  .btn-login::after {
    content:'';position:absolute;inset:0;
    background:linear-gradient(135deg,rgba(255,255,255,0.1),transparent);
    border-radius:12px;
  }
  .btn-login:hover { transform:translateY(-2px); box-shadow:0 10px 28px rgba(99,102,241,0.55); }
  .btn-login:active { transform:scale(0.98); }
  .btn-login.secondary {
    background: linear-gradient(135deg, #059669, #10B981, #34D399);
    box-shadow: 0 4px 20px rgba(16,185,129,0.4);
  }
  .btn-login.secondary:hover { box-shadow: 0 10px 28px rgba(16,185,129,0.5); }

  /* Links */
  .login-link { color: #818CF8; font-weight: 600; font-size: 13px; text-decoration: none; cursor: pointer; }
  .login-link:hover { color: #A5B4FC; text-decoration: underline; }
  .login-back-link { display:block;text-align:center;color:#6EE7B7;font-weight:700;font-size:13px;margin-top:14px;cursor:pointer; }
  .login-back-link:hover { color:#34D399; }

  /* Alerts */
  .login-alert { padding:12px 15px;border-radius:11px;font-size:13px;margin-bottom:18px;font-weight:500; }
  .login-alert.error   { background:rgba(239,68,68,0.12); color:#FCA5A5; border:1px solid rgba(239,68,68,0.2); }
  .login-alert.success { background:rgba(16,185,129,0.12); color:#6EE7B7; border:1px solid rgba(16,185,129,0.2); }

  /* Divider */
  .login-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 6px 0 14px;
    color: rgba(255,255,255,0.18); font-size: 11px;
  }
  .login-divider::before, .login-divider::after {
    content:''; flex:1; height:1px; background:rgba(255,255,255,0.07);
  }

  /* Password toggle */
  .pw-wrap { position: relative; }
  .pw-toggle {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.3); font-size: 16px; padding: 2px;
    transition: color 0.15s;
  }
  .pw-toggle:hover { color: rgba(255,255,255,0.7); }

  /* ── RESPONSIVE ────────────────────────────────────── */
  @media (max-width: 900px) {
    .login-page { grid-template-columns: 1fr; min-height: 100vh; }
    .login-visual { display: none; }
    .login-form-panel { min-height: 100vh; padding: 32px 20px; align-items: flex-start; padding-top: 44px; }
    .login-form-box { max-width: 440px; width: 100%; margin: 0 auto; }
    .login-mobile-header { display: block; }
    .login-form-title { text-align: center; font-size: 20px; }
    .login-form-sub { text-align: center; }
  }
  @media (max-width: 480px) {
    .login-form-panel { padding: 28px 16px; }
    .login-tabs { gap: 3px; }
    .login-tab { font-size: 11px; padding: 8px 5px; min-width: 70px; }
    .role-grid { gap: 6px; }
    .role-btn { font-size: 12px; padding: 9px 4px; }
  }
