/* --- PREMIUM MODERN LOGIN STYLE --- */
:root {
    --primary: #0062FF;
    --primary-dark: #004ecc;
    --primary-gradient: linear-gradient(135deg, #0062FF 0%, #0033aa 100%);
    --bg-global: #f4f7fe;
    --text-main: #1B2559;
    --text-sub: #A3AED0;
    --white: #FFFFFF;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
} 

body { 
    height: 100vh; 
    background-color: var(--bg-global); 
    background-image: radial-gradient(at 0% 0%, rgba(0, 98, 255, 0.05) 0px, transparent 50%), 
                      radial-gradient(at 100% 100%, rgba(0, 98, 255, 0.03) 0px, transparent 50%);
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 15px;
} 

/* CONTAINER UTAMA */ 
.container { 
    width: 1000px; 
    height: 600px; 
    background: var(--white); 
    display: flex; 
    border-radius: 24px; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(27, 37, 89, 0.08); 
    border: 1px solid rgba(226, 232, 240, 0.8);
} 

/* --- KOLOM KIRI (FORM) --- */ 
.left { 
    width: 45%; 
    background: var(--white); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 40px;
} 

.login-box { 
    width: 100%; 
    max-width: 340px;
} 

.brand-logo-mobile {
    display: none;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(0, 98, 255, 0.08);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.login-box h2 { 
    font-weight: 800;
    color: var(--text-main); 
    font-size: 1.8rem;
    letter-spacing: -0.5px;
} 

.login-box .subtitle {
    color: var(--text-sub);
    font-size: 0.85rem;
    margin-top: 5px;
    margin-bottom: 30px;
    font-weight: 500;
}

/* ALERT ERROR CUSTOM */
.alert-error {
    background: #FFF0F0;
    color: #FF4D4D;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 77, 77, 0.1);
}

/* INPUT LAYOUT */
.input-group {
    position: relative;
    margin-bottom: 16px;
}

.field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-sub);
    font-size: 1.1rem;
    transition: 0.2s;
}

.login-box input { 
    width: 100%; 
    padding: 14px 16px 14px 46px; 
    background: #f8fafc;
    border: 1px solid #e2e8f0; 
    border-radius: 12px;
    outline: none; 
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
} 

.login-box input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 98, 255, 0.1);
}

.login-box input:focus + .field-icon {
    color: var(--primary);
}

/* TOMBOL LOGIN */
.btn-login { 
    margin-top: 10px; 
    width: 100%; 
    padding: 14px; 
    background: var(--primary-gradient); 
    color: var(--white); 
    border: none; 
    border-radius: 12px; 
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 98, 255, 0.2);
    transition: 0.2s;
} 

.btn-login:hover { 
    background: var(--primary-dark);
    transform: translateY(-1px);
} 

.small { 
    margin-top: 25px; 
    font-size: 0.85rem; 
    color: var(--text-sub);
    font-weight: 600;
    text-align: center;
} 

.small a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}
.small a:hover {
    text-decoration: underline;
}

/* --- KOLOM KANAN (HERO BRANDING) --- */ 
.right { 
    width: 55%; 
    background-image: url('https://images.unsplash.com/photo-1542838132-92c53300491e?q=80&w=1000&auto=format&fit=crop'); /* Gambar background suasana pasar segar */
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 40px;
} 

.overlay-glass {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 98, 255, 0.85) 0%, rgba(0, 31, 102, 0.9) 100%);
    backdrop-filter: blur(2px);
}

.content { 
    width: 85%; 
    max-width: 420px;
    position: relative;
    z-index: 2;
    text-align: left;
} 

.badge-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content h1 { 
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px; 
    line-height: 1.1;
} 

.content p { 
    font-size: 0.95rem; 
    margin-bottom: 30px; 
    line-height: 1.6; 
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
} 

.btn-explore { 
    padding: 12px 24px; 
    background: var(--white); 
    color: var(--primary); 
    text-decoration: none; 
    border-radius: 12px; 
    font-size: 0.9rem; 
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.2s;
} 

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    background: #f8fafc;
}

/* ===================================== */ 
/* RESPONSIVE FULL HP & ANDROID MOBILE   */ 
/* ===================================== */ 
@media (max-width: 860px) { 
    .container { 
        width: 100%; 
        max-width: 450px;
        height: auto; 
        flex-direction: column; 
        border-radius: 20px;
    } 
    
    .right { 
        display: none; /* Sembunyikan panel gambar besar di HP agar fokus login cepat */
    } 
    
    .left { 
        width: 100%; 
        padding: 40px 30px; 
    } 
    
    .brand-logo-mobile {
        display: block;
    }
    
    .login-box {
        max-width: 100%;
    }
}