/* Reset dasar dan Pengaturan Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fdfdfd;
    /* Ganti URL di bawah dengan gambar background grid transparan yang Anda miliki */
    background-image: url('../image/bgLogin.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}



.app-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

/* --- Header Styling --- */
.header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.logo {
    width: 80px;
    height: auto;
}

.header-text h1 {
    font-size: 1rem;
    color: #1a4d2e;
    font-weight: 700;
}

.header-text h2 {
    font-size: 0.9rem;
    color: #386641;
    font-weight: 600;
}

/* --- Main Layout --- */
.main-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.illustration-area {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.main-illustration {
    max-width: 100%;
    height: auto;
}

/* --- Form Area Styling --- */
.form-area {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
}

.main-title {
    font-size: 2.5rem;
    color: #4a7c59; /* Warna hijau gelap sesuai desain */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* --- Form Area Styling --- */
.form-area {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
}

.main-title {
    font-size: 2.5rem;
    color: #4a7c59; /* Warna hijau gelap sesuai desain */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* Teks tambahan yang diperkecil */
.main-title .sub-title {
    font-size: 1.7rem; /* Ukuran font lebih kecil, sesuaikan jika perlu */
    font-weight: 500;  /* Ketebalan font sedikit dikurangi agar tidak terlalu tebal */
    display: block;    /* Memastikan teks ini turun ke baris baru dengan rapi */
    margin-top: 10px;  /* Memberi sedikit jarak dari judul utama */
    
}

/* --- Input & Button Styling --- */
.login-form {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Memposisikan form ke kanan sesuai desain */
    width: 100%;
    max-width: 450px;
}

.input-group {
    width: 100%;
    margin-bottom: 1rem;
}

.input-field {
    width: 100%;
    padding: 15px 25px;
    border-radius: 20px; /* Bentuk pill */
    border: none;
    background-color: #84b896; /* Warna hijau muda form */
    color: #ffffff;
    font-size: 1.1rem;
    outline: none;
}

.input-field::placeholder {
    color: #e0f0e5; /* Warna teks placeholder agar terlihat elegan */
    font-weight: 400;
}

/* Efek saat input diklik */
.input-field:focus {
    background-color: #73a685; 
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.submit-group {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    padding: 12px 45px;
    border-radius: 20px;
    background-color: #5c9e74; /* Warna hijau tombol masukan */
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Memberikan efek kedalaman */
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #4a805c;
}

/* --- Responsivitas untuk layar kecil --- */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-area {
        padding-left: 0;
        margin-top: 2rem;
        align-items: center;
    }

    .login-form {
        align-items: center;
    }

    .submit-group {
        justify-content: center;
    }
}