/* --- Reset & Basic Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

/* --- Main Login Container --- */
.login-container {
    display: flex;
    width: 100%;
    max-width: 1277px; /* Sesuai Figma untuk desktop */
    min-height: 726px;  /* Sesuai Figma untuk desktop */
    background-color: #E9EAEB;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    margin: 2rem 0; /* Memberi sedikit jarak atas-bawah */
}

/* --- Kolom Form (Kiri) --- */
.login-form {
    flex-basis: 50%; /* Atur basis lebar agar lebih konsisten */
   /* flex-grow: 1;*/
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.login-form p {
    color: #555;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
}

.input-group input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.forgot-password {
    display: inline-block;
    margin-top: -10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #555;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.login-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background-color: #000000;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.login-button:hover {
    background-color: #333333;
}

.login-button:active {
    transform: scale(0.98);
}

/* --- Kolom Gambar (Kanan) --- */
.login-image {
    flex: 1;
    background-image: url('../../../assets/media/images/login-image.png'); /* Ganti dengan URL gambar Anda */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Style untuk logo, ganti dengan file SVG/PNG Anda untuk hasil terbaik */
.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 12rem;
    color: white;
    /* Efek logo sedikit transparan seperti di gambar */
    mix-blend-mode: overlay; 
    opacity: 0.9;
    /* Anda mungkin perlu menyesuaikan ini jika menggunakan file gambar */
}


/* --- Footer --- */
.page-footer {
    width: 100%;
    max-width: 950px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 25px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1280px) {
    .login-container {
        /* Gunakan lebar persentase agar tidak terlalu mepet ke tepi layar */
        max-width: 95%; 
        /* Hapus tinggi minimal yang tetap, biarkan konten yang menentukan tingginya */
        min-height: auto; 
        /* Gunakan tinggi viewport agar proporsional dengan layar */
        height: 85vh; 
        max-height: 700px; /* Batasi tinggi maksimal agar tidak terlalu besar di tablet landscape */
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    body {
        justify-content: flex-start;
        padding: 1rem;
    }

    .login-container {
        flex-direction: column;
        width: 100%;
        max-width: 500px;
        margin-top: 5vh;
        height: auto; /* Pastikan tinggi kembali otomatis di mobile */
        max-height: none; /* Hapus batasan max-height */
    }
    
    .login-image {
        display: none;
    }

    .login-form {
        padding: 40px;
    }

    .login-form h1 {
        font-size: 2rem;
    }

    .page-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin-top: 2rem;
    }
}