/* ------------------------------------------- */
/* TEMA HACKING LENGKAP & RESPONSIVE */
/* ------------------------------------------- */

body {
    font-family: 'Poppins', 'Courier New', monospace; 
    background: #000000;
    min-height: 100vh;
    margin: 0;
    color: #CCCCCC;
}

/* Kontainer Utama untuk Flexbox */
.main-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: stretch; 
    justify-content: center;
}

/* ------------------------------------------- */
/* SISI IMAGE / VISUAL (50%) */
/* ------------------------------------------- */

.image-space {
    width: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0d0d0d; 
    border-right: 2px solid #00ff00;
    box-sizing: border-box;
}

/* GAYA BARU UNTUK LINK LOGO */
.logo-link {
    text-decoration: none; /* PROPERTI INI MENGHILANGKAN GARIS BAWAH */
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.image-placeholder {
    text-align: center;
    padding: 20px;
    display: flex; 
    flex-direction: column;
    align-items: center;
}

/* Gaya untuk Ikon Font Awesome Besar */
.image-placeholder i {
    color: #00ff00;
    font-size: 150px; 
    margin-bottom: 10px;
    text-shadow: 
        0 0 10px #00ff00, 
        0 0 20px #00ff00,
        0 0 40px rgba(0, 255, 0, 0.7); 
    animation: icon-flicker 2s infinite alternate;
}

@keyframes icon-flicker {
    0% { opacity: 1; }
    50% { opacity: 0.9; }
    100% { opacity: 1; }
}

/* GAYA UNTUK LOGO TEKS */
.logo-title {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 0 5px #00ff00;
}

.logo-subtitle {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 400;
    text-shadow: 0 0 3px #00ffff;
}


/* ------------------------------------------- */
/* SISI FORM LOGIN (50%) */
/* ------------------------------------------- */

.login-container {
    width: 50%; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    background: #000000; 
    padding: 0; 
    box-sizing: border-box;
}

.login-form {
    width: 100%;
    max-width: 400px; 
    padding: 40px; 
    background: rgba(10, 10, 10, 0.95); 
    border-radius: 5px;
    border: 1px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); 
    box-sizing: border-box;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #00ff00; 
    font-weight: 700;
    text-shadow: 0 0 5px #00ff00; 
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #00ff00; 
    font-weight: 500;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: #1a1a1a; 
    color: #00ff00; 
    border: 1px solid #333333; 
    border-radius: 3px; 
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
    border-color: #00ff00; 
    outline: none;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.8); 
}

.login-button {
    width: 100%;
    padding: 12px;
    border: 1px solid #00ff00; 
    border-radius: 3px;
    background: #003300; 
    color: #00ff00; 
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    margin-top: 10px;
}

.login-button:hover {
    background: #006600; 
    transform: translateY(-2px);
    box-shadow: 0 0 10px #00ff00;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #00ffff; 
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #00ff00; 
    text-decoration: underline;
}

.error {
    color: #ff0000; 
    font-size: 14px;
    margin-top: 5px;
}

/* ------------------------------------------- */
/* MEDIA QUERY UNTUK MOBILE (Maks. 768px) */
/* ------------------------------------------- */

@media (max-width: 768px) {
    
    .main-wrapper {
        flex-direction: column; 
        align-items: center;
    }
    
    .image-space, 
    .login-container {
        width: 100%; 
        border-right: none; 
    }
    
    .image-space {
        min-height: 250px; 
        order: -1; 
        border-bottom: 2px solid #00ff00; 
    }
    
    .login-container {
        padding: 20px; 
        order: 0; 
    }

    .login-form {
        max-width: 100%; 
        margin: 0;
    }
    
    .image-placeholder i {
        font-size: 100px;
    }

    .logo-title {
        font-size: 30px; 
    }

    .logo-subtitle {
        font-size: 14px; 
    }
}