/* General Styling */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
}

/* Main Container Layout */
.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Kolom Kiri: Form Section */
.login-form-section {
    flex: 0 0 30%; /* Lebar kolom form menjadi 40% */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 40px;
}

.form-wrapper {
    width: 100%;
    max-width: 380px;
}

.logo-container {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    width: 150px; /* Sesuaikan ukuran logo */
    margin-bottom: 8px;
}

.logo-container h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.social-btn:hover {
    background-color: #f5f5f5;
}

.social-btn .fab {
    font-size: 18px;
}

.social-btn.google .fab {
    color: #DB4437;
}

.social-btn.facebook .fab {
    color: #4267B2;
}


/* Separator "Or" */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa;
    margin-bottom: 24px;
}

.separator hr {
    flex: 1;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.separator span {
    padding: 0 10px;
}

/* Form Styling */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    box-sizing: border-box; /* Penting agar padding tidak menambah width */
}

/* Password Field with Icon */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 40px; /* Beri ruang untuk ikon */
}

.password-wrapper i {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #999;
}

/* Options (Remember Me & Forgot Password) */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #828282;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #3B8C6E; /* Warna hijau dari gambar */
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #317259;
}

/* Register Link */
.register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
}

.register-link a {
    color: #3B8C6E;
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}


/* Kolom Kanan: Illustration Section */
.login-illustration-section {
    flex: 1; /* Kolom ilustrasi mengambil sisa ruang yang ada (60%) */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F7FBF9;
    padding: 40px;
}

.illustration {
    max-width: 80%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .login-illustration-section {
        display: none; /* Sembunyikan gambar di layar kecil */
    }

    .login-form-section {
        justify-content: center;
        width: 100%;
    }
}