/* ==========================================================================
   FACE / FIA - Fundee Style Sheet (v3.7)
   ========================================================================== */

/* 1. Global Reset & Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #0b0f19;
    color: #f3f4f6;
}

/* 2. Layout Container */
.login-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* 3. Left Panel (Hero & Branding) dengan Pola Titik (Dot Grid Pattern) */
.left-panel {
    flex: 1;
    background-color: #0b0f19;
    /* Pola Titik-Titik (Dot Pattern Background) */
    background-image: radial-gradient(rgba(40, 167, 69, 0.25) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.welcome-content {
    max-width: 480px;
    margin: auto 0;
}

.face-logo-image-login {
    height: 70px; /* Atur ukuran tinggi logo */
    width: auto;
    object-fit: contain;
    margin-bottom: 25px;
    display: block;

    /* Efek Menyala (Glow / Drop Shadow) Warna Hijau Fundee */
    filter: drop-shadow(0px 0px 12px rgba(40, 167, 69, 0.6)) 
            drop-shadow(0px 0px 25px rgba(34, 197, 94, 0.3));
    
    /* Transisi halus saat di-hover */
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Efek saat kursor diarahkan ke logo (Opsional: Makin Menyala) */
.face-logo-image-login:hover {
    filter: drop-shadow(0px 0px 18px rgba(40, 167, 69, 0.9)) 
            drop-shadow(0px 0px 35px rgba(34, 197, 94, 0.5));
    transform: scale(1.02);
}

.welcome-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 15px;
}

.welcome-content p {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.6;
    font-weight: 400;
}

/* 4. Right Panel (Form & Canvas Particle) */
.right-panel {
    flex: 1;
    position: relative;
    background-color: #0d121f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.login-form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-form-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.login-form-wrapper p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 30px;
}

/* 5. Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.form-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.form-options a {
    color: #28a745;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.form-options a:hover {
    color: #34ce57;
    text-decoration: underline;
}

.btn-login, .btn-submit {
    width: 100%;
    padding: 14px;
    background: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-login:hover, .btn-submit:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* 6. Footer Links */
.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #28a745;
}

.mobile-footer {
    display: none;
    margin-top: 30px;
    justify-content: center;
}

/* 7. Modal Lupa Password */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #111827;
    border: 1px solid #1f2937;
    padding: 35px;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.close-button {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover {
    color: #ffffff;
}

.modal-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-content p {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* 8. Responsive Breakdown */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .left-panel {
        padding: 40px 30px;
        min-height: 280px;
    }

    .desktop-footer {
        display: none;
    }

    .mobile-footer {
        display: flex;
    }

    .right-panel {
        padding: 40px 20px;
    }
}