/* ==========================================================================
   🎨 TALENTHUB PREMIUM ENTERPRISE DESIGN SYSTEM (THEME: CYBER DARK 2026)
   ========================================================================== */
:root {
    --bg-login: #040711; /* Ultra Dark Blue */
    --bg-card: rgba(11, 17, 32, 0.85); /* Glassmorphic Base */
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --primary: #4f46e5; /* Indigo Accent */
    --primary-hover: #4338ca;
    --success: #10b981; /* Emerald Accent */
    --success-hover: #059669;
    --error: #f87171;
}

/* Reset Default Browser */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg-login); 
    color: var(--text-main); 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px; 
    position: relative;
    overflow: hidden;
}

/* --- ORNAMEN GLOWING BACKGROUND (TREN DESAIN MODERN) --- */
.glow-circle-1 {
    position: absolute; 
    width: 350px; 
    height: 350px; 
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -10%; 
    left: -10%; 
    pointer-events: none;
    z-index: 1;
}
.glow-circle-2 {
    position: absolute; 
    width: 450px; 
    height: 450px; 
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -15%; 
    right: -10%; 
    pointer-events: none;
    z-index: 1;
}

/* --- CONTAINER MAIN CARD INTERFACE --- */
.login-container { 
    width: 100%; 
    max-width: 400px; 
    background: var(--bg-card); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border); 
    border-radius: 20px; 
    padding: 40px 28px; 
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6); 
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-header { 
    text-align: center; 
    margin-bottom: 28px; 
}

/* Desain Wadah Lingkaran Ikon Judul */
.login-brand-icon { 
    background: rgba(79, 70, 229, 0.1); 
    width: 54px; 
    height: 52px; 
    margin: 0 auto 14px; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #818cf8;
    border: 1px solid rgba(79, 70, 229, 0.25);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.15);
}
.login-brand-icon svg { 
    width: 24px; 
    height: 24px; 
}

.login-header h2 { 
    font-size: 20px; 
    font-weight: 700; 
    margin-bottom: 6px; 
    letter-spacing: -0.5px; 
}
.login-header p { 
    font-size: 12px; 
    color: var(--text-muted); 
    line-height: 1.5; 
}

/* --- STRUKTUR FORM INPUT & VALIDASI IKON INTERNAL --- */
.input-group { 
    margin-bottom: 20px; 
}
.input-group label { 
    display: block; 
    font-size: 11px; 
    font-weight: 600; 
    margin-bottom: 8px; 
    text-transform: uppercase; 
    color: #94a3b8; 
    letter-spacing: 0.5px; 
}

.input-wrapper { 
    position: relative; 
    display: flex; 
    align-items: center; 
    width: 100%; 
}

/* Mengunci posisi Ikon Lucide di dalam kolom teks sebelah kiri */
.field-icon { 
    position: absolute; 
    left: 16px; 
    width: 18px; 
    height: 18px; 
    color: var(--text-muted); 
    pointer-events: none; 
    transition: color 0.2s ease;
}

.input-group input { 
    width: 100%; 
    padding: 13px 16px 13px 46px; /* 46px di kiri agar teks ketikan tidak menabrak ikon */
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid var(--border); 
    border-radius: 10px; 
    color: var(--text-main); 
    font-family: inherit;
    font-size: 14px; 
    outline: none; 
    transition: all 0.2s ease; 
}
.input-group input:focus { 
    border-color: var(--primary); 
    background: rgba(79, 70, 229, 0.04); 
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
/* Efek interaktif: Ketika kolom di-klik, warna ikon ikut menyala terang */
.input-group input:focus ~ .field-icon { 
    color: #818cf8; 
}

/* --- ACTION BUTTON DENGAN MICRO ANIMATION ARROW --- */
.btn-action { 
    width: 100%; 
    padding: 14px; 
    background: var(--primary); 
    border: none; 
    border-radius: 10px; 
    color: white; 
    font-size: 14px; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    transition: background 0.2s ease, transform 0.1s ease; 
    margin-top: 10px;
}
.btn-action:hover { 
    background: var(--primary-hover); 
}
/* Animasi menggeser mikro anak panah ke kanan saat tombol di-hover */
.btn-action:hover .btn-icon-arrow { 
    transform: translateX(4px); 
}
.btn-icon-arrow { 
    width: 16px; 
    height: 16px; 
    transition: transform 0.2s ease; 
}

/* --- INFORMASI NOTIFIKASI SISTEM (LOCK NOTICE & LINKS) --- */
.lock-notice {
    font-size: 11px; 
    color: var(--text-muted); 
    margin-bottom: 18px;
    text-align: center; 
    line-height: 1.5; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    justify-content: center;
}

.toggle-link { 
    text-align: center; 
    margin-top: 24px; 
    font-size: 13px; 
    color: var(--text-muted); 
}
.toggle-link a { 
    color: var(--primary); 
    text-decoration: none; 
    font-weight: 600; 
}
.toggle-link a:hover { 
    text-decoration: underline; 
}

/* --- BANNER PANEL ALERT SYSTEM (NOTIFIKASI FEEDBACK) --- */
.alert-box { 
    padding: 12px; 
    border-radius: 8px; 
    font-size: 13px; 
    margin-bottom: 20px; 
    display: none; 
    text-align: center; 
    font-weight: 500;
    animation: slideDown 0.3s ease;
}
.alert-error { 
    background: rgba(239, 68, 68, 0.1); 
    border: 1px solid rgba(239, 68, 68, 0.2); 
    color: var(--error); 
}
.alert-success { 
    background: rgba(16, 185, 129, 0.1); 
    border: 1px solid rgba(16, 185, 129, 0.2); 
    color: var(--success); 
}

.hidden { 
    display: none !important; 
}
.login-footer { 
    text-align: center; 
    margin-top: 28px; 
    font-size: 11px; 
    color: var(--text-muted); 
}

@keyframes slideDown { 
    from { opacity: 0; transform: translateY(-8px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* ==========================================================================
   📱 RESPONSIVE MEDIA VIEWPORTS (PROTEKSI LAYAR HP & SMARTPHONE KECIL)
   ========================================================================== */
@media (max-width: 400px) {
    body {
        padding: 12px;
    }
    .login-container { 
        padding: 32px 18px; 
        border-radius: 16px; 
    }
    .login-header h2 { 
        font-size: 18px; 
    }
    .glow-circle-1, .glow-circle-2 {
        display: none; /* Matikan efek glow di HP lemot untuk menghemat rendering RAM */
    }
}
