/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --gold-accent: #f1c40f;
    --gold-dark: #d4ac0d;
    --gold-glow: 0 0 20px rgba(241, 196, 15, 0.2);
    
    --bg-dark: #080b12;
    --bg-panel: #111827;
    
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

body, html { height: 100%; width: 100%; overflow: hidden; background-color: var(--bg-dark); }

.login-container {
    display: flex; height: 100vh; width: 100%;
}

/* =========================================
   2. LEFT SECTION (BRANDING & ART)
   ========================================= */
.login-left {
    flex: 1.3;
    background: radial-gradient(circle at 10% 20%, #1a202c 0%, #080b12 90%);
    position: relative;
    display: flex; align-items: center; justify-content: center;
    padding: 80px;
    overflow: hidden;
}

/* Dekorasi Emas Abstrak (Glow Effect) */
.login-left::before {
    content: ''; position: absolute;
    top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

.brand-wrapper {
    position: relative; z-index: 10;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-wrapper h1 {
    font-size: 5.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 5px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.subtitle-outline {
    font-size: 3.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--gold-accent);
    opacity: 0.8;
    display: block;
    margin-bottom: 30px;
}

.description {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 500px;
    border-left: 4px solid var(--gold-accent);
    padding-left: 20px;
}

/* =========================================
   3. RIGHT SECTION (FORM LOGIN)
   ========================================= */
.login-right {
    flex: 0.9;
    background-color: var(--bg-dark);
    display: flex; align-items: center; justify-content: center;
    padding: 60px;
    border-left: 1px solid var(--border-color);
    position: relative;
}

.login-box {
    width: 100%; max-width: 420px;
    animation: fadeInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.login-header { margin-bottom: 40px; }

.login-header h3 {
    font-size: 2.5rem; font-weight: 800; color: #fff;
    margin-bottom: 10px; letter-spacing: -1px;
}

.login-header p {
    color: var(--text-muted); font-size: 1rem;
}

/* --- Form Elements --- */
.form-group { margin-bottom: 25px; position: relative; }

.form-group label {
    display: block; color: #cbd5e1; font-size: 0.85rem;
    font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
}

.input-wrapper { position: relative; }

.form-control {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 16px 20px; /* Padding nyaman */
    border-radius: 12px;
    color: #fff; font-size: 1rem; font-weight: 500;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(241, 196, 15, 0.1);
    transform: translateY(-2px);
}

/* Select Option Styling */
select.form-control option {
    background-color: var(--bg-dark); color: #fff; padding: 12px;
}

/* --- Button --- */
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-dark) 100%);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(241, 196, 15, 0.4);
    margin-top: 20px;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(241, 196, 15, 0.6);
    filter: brightness(1.1);
}

.btn-login:active { transform: translateY(-1px); }

/* Footer Copyright */
.login-footer {
    position: absolute; bottom: 30px; left: 0; width: 100%;
    text-align: center; color: rgba(255,255,255,0.2); font-size: 0.8rem;
}

/* =========================================
   4. ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   5. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1200px) {
    .brand-wrapper h1 { font-size: 4rem; }
    .subtitle-outline { font-size: 2.5rem; }
}

@media (max-width: 992px) {
    .login-container { flex-direction: column; overflow-y: auto; }
    
    .login-left {
        flex: none; height: 35vh; min-height: 300px;
        padding: 40px; text-align: center;
        align-items: flex-end; /* Supaya teks agak ke bawah */
        justify-content: center;
    }
    
    .login-left::before { width: 100%; height: 100%; top: 0; left: 0; }

    .brand-wrapper h1 { font-size: 3rem; }
    .subtitle-outline { font-size: 2rem; margin-bottom: 10px; }
    .description { display: none; } /* Sembunyikan deskripsi di mobile agar bersih */

    .login-right {
        flex: 1; border-left: none; padding: 50px 30px;
        align-items: flex-start; /* Form mulai dari atas */
    }
    
    .login-box { animation: fadeInUp 0.8s ease-out; }
    .login-header h3 { font-size: 2rem; }
    .login-footer { position: relative; margin-top: 40px; bottom: auto; }
}