
    :root {
        --primary: #3134da;   /* Biru utama */
        --primary-soft: #dbeafe;
        --dark: #0f172a;
        --gray: #6b7280;
        --radius: 18px;
        --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.12);
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
        background: radial-gradient(circle at top left, #eff6ff, #e5e7eb);
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--dark);
    }

    .auth-wrapper {
        width: 100%;
        max-width: 760px;
        background: #ffffff;
        border-radius: var(--radius);
        box-shadow: var(--shadow-soft);
        display: flex;
        overflow: hidden;
    }

    /* ====== KOLOM LOGO ====== */
    .auth-left {
        flex: 1;
        background: rgba(42, 109, 209, 0.12);     /* transparan elegan */
        backdrop-filter: blur(14px);               /* efek kaca */
        -webkit-backdrop-filter: blur(14px); */ */
        padding: 40px 32px;
        border-right: 1px solid rgba(255,255,255,0.25);
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .auth-left::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 0, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(15,23,42,0.3) 0, transparent 55%);
        opacity: 0.9;
        pointer-events: none;
    }

    .logo-wrapper {
        position: relative;
        z-index: 1;
        width: 140px;
        height: 140px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(4px);
        box-shadow: 0 18px 35px rgba(15, 23, 42, 0.5);
        animation: floating 4s ease-in-out infinite;
    }

    /* ==== LOGO BERGERAK ==== */
    .logo-wrapper img {
        width: 99%;
        height: auto;
        animation: pulse 2.4s ease-in-out infinite;
    }

    .auth-left-title {
        position: relative;
        z-index: 1;
        margin-top: 24px;
        text-align: center;
    }

    .auth-left-title h2 {
        font-weight: 600;
        font-size: 1.4rem;
    }

    .auth-left-title p {
        margin-top: 8px;
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .auth-badge {
        position: relative;
        z-index: 1;
        margin-top: 16px;
        padding: 6px 14px;
        border-radius: 999px;
        border: 1px solid rgba(219, 234, 254, 0.7);
        font-size: 0.75rem;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(15, 23, 42, 0.25);
    }

    .auth-badge span {
        display: inline-block;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #22c55e;
        box-shadow: 0 0 12px rgba(34,197,94,0.8);
    }

    @keyframes floating {
        0%, 100% { transform: translateY(0px); }
        50%      { transform: translateY(-10px); }
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50%      { transform: scale(1.05); opacity: 0.95; }
    }

    /* ====== KOLOM FORM LOGIN ====== */
    .auth-right {
        flex: 1;
        padding: 40px 32px 32px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .auth-right-header {
        margin-bottom: 24px;
    }

    .auth-right-header h1 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .auth-right-header p {
        font-size: 0.9rem;
        color: var(--gray);
    }

    form {
        width: 100%;
    }

    .form-group {
        margin-bottom: 16px;
    }

    label {
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--dark);
        display: block;
        margin-bottom: 6px;
    }

    .form-control {
        width: 100%;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
        font-size: 0.9rem;
        outline: none;
        transition: all 0.2s ease;
        background-color: #f9fafb;
    }

    .form-control:focus {
        border-color: var(--primary);
        background: #ffffff;
        box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
    }

    .form-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 4px;
        margin-bottom: 16px;
        font-size: 0.78rem;
    }

    .form-footer a {
        color: var(--primary);
        text-decoration: none;
    }

    .form-footer a:hover {
        text-decoration: underline;
    }

    .btn-primary {
        width: 100%;
        padding: 10px 14px;
        background: var(--primary);
        border: none;
        border-radius: 999px;
        color: #ffffff;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s ease;
    }

    .btn-primary:hover {
        background: #1d4ed8;
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
    }

    .btn-primary:active {
        transform: translateY(0);
        box-shadow: none;
    }

    .login-extra {
        margin-top: 14px;
        font-size: 0.8rem;
        text-align: center;
        color: var(--gray);
    }

    .alert-error {
        font-size: 0.8rem;
        padding: 8px 10px;
        border-radius: 8px;
        background: #fef2f2;
        border: 1px solid #fecaca;
        color: #b91c1c;
        margin-bottom: 16px;
    }

    /* ====== RESPONSIVE ====== */
    @media (max-width: 768px) {
        .auth-wrapper {
            flex-direction: column;
            max-width: 480px;
        }
        .auth-left {
            padding: 28px 20px;
        }
        .auth-right {
            padding: 28px 20px 24px;
        }
        .auth-left {
            min-height: 220px;
        }
    }

    @media (max-width: 480px) {
        body {
            padding: 12px;
        }
        .auth-wrapper {
            border-radius: 16px;
        }
        .auth-right-header h1 {
            font-size: 1.3rem;
        }
    }