/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Main Container - for the layout of illustration and login panel */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 935px; /* Max width to match Instagram's layout */
    margin: 0 auto 40px;
    padding-top: 32px; /* Jarak dari atas */
}

/* Illustration Container (Left Side) */
.illustration-container {
    /* --- INI YANG DIUBAH --- */
    width: 500px; /* Diperbesar menjadi 500 pixel */
    height: 650px; /* Diperbesar menjadi 650 pixel */
    /* ------------------------ */
    background-image: url('instagram-mockup.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 40px; 
    position: relative;
    top: -20px; 
}

/* Hide illustration on smaller screens */
@media (max-width: 875px) {
    .illustration-container {
        display: none;
    }
    .container {
        justify-content: center;
    }
}

/* Login Panel (Right Side) */
.login-panel {
    width: 350px;
}

.login-box {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 1px;
    padding: 10px 0 20px;
    margin-bottom: 10px;
    text-align: center;
}

/* Atur ulang gaya dasar */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #fafafa; /* Warna latar belakang halaman */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    max-width: 935px; /* Lebar keseluruhan konten utama */
    margin: 0 auto 40px;
}

/* Ilustrasi (Bagian Kiri) */
.illustration-mockup {
    /* Hanya tampil di layar besar */
    display: none; 
    /* Di layar besar, pakai ini: */
    /* display: block; 
    width: 380px; 
    height: 581px; */
    /* styling gambar ilustrasi agar sesuai */
}

.illustration-mockup {
    /* style gambar, misal agar full di container */
}

/* Panel Login (Bagian Kanan) */
.login-panel {
    width: 350px;
}

.login-box {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 1px;
    padding: 10px 0;
    margin-bottom: 10px;
    text-align: center;
}

/* Logo "Instagram" */
.login-box h1 {
    font-family: 'Billabong', cursive; /* Kalau mau mirip banget, butuh font Billabong */
    font-size: 52px;
    margin: 22px 0 12px;
    font-weight: 400;
}

/* Form Input */
form input {
    width: calc(100% - 40px);
    margin: 4px 20px;
    padding: 9px 8px;
    background-color: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 12px;
}

/* Tombol Log in */
.log-in-btn {
    width: calc(100% - 40px);
    background-color: #4cb5f9; /* Biru khas Instagram */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 0;
    margin: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7; /* Biasanya opacity-nya lebih rendah kalau input kosong */
}

/* Pembatas "OR" */
.or-separator {
    display: flex;
    align-items: center;
    margin: 15px 40px;
}

.or-separator .line {
    flex-grow: 1;
    height: 1px;
    background-color: #dbdbdb;
}

.or-separator .text {
    color: #737373;
    font-size: 13px;
    font-weight: 600;
    margin: 0 18px;
}

/* Login dengan Facebook */
.facebook-login {
    display: block;
    color: #385185;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 20px;
}

.facebook-login i {
    margin-right: 8px;
}

/* Forgot Password */
.forgot-password {
    display: block;
    color: #00376b;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 10px;
}

/* Kotak Sign Up di bawah */
.signup-box {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 1px;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.sign-up-link {
    color: #4cb5f9;
    font-weight: 600;
    text-decoration: none;
}

/* Footer Links */
.footer-links {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #8e8e8e;
}

.footer-links a {
    color: #00376b;
    margin: 0 8px;
    text-decoration: none;
}

form input {
    width: calc(100% - 60px); /* Kurangi padding samping */
    margin: 4px 0;
    padding: 9px 8px;
    background-color: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 12px;
}

.log-in-btn {
    width: calc(100% - 40px);
    background-color: #4cb5f9;
    color: #fff;
    border: none;
    border-radius: 8px; /* Lebih bulat dari sebelumnya */
    padding: 7px 0;
    margin: 8px 20px 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7; /* Default, akan jadi 1 saat form terisi */
}
/* Style untuk tombol saat aktif/terisi */
.log-in-btn:not(:disabled) {
    opacity: 1;
}


.or-separator {
    display: flex;
    align-items: center;
    margin: 15px 40px;
}

.or-separator .line {
    flex-grow: 1;
    height: 1px;
    background-color: #dbdbdb;
}

.or-separator .text {
    color: #737373;
    font-size: 13px;
    font-weight: 600;
    margin: 0 18px;
}

.facebook-login {
    display: block;
    color: #385185;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

.facebook-login i {
    margin-right: 8px;
    font-size: 16px; /* Ukuran ikon Facebook */
    vertical-align: middle;
}

.forgot-password {
    display: block;
    color: #00376b;
    font-size: 12px;
    text-decoration: none;
    margin-top: 12px;
}

/* Sign Up Box */
.signup-box {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 1px;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
}

.signup-box p {
    margin: 0;
}

.sign-up-link {
    color: #4cb5f9;
    font-weight: 600;
    text-decoration: none;
}

/* GET APP SECTION */
.get-app-section {
    text-align: center;
    margin-top: 15px;
}

.get-app-section p {
    font-size: 15px;
    margin-bottom: 5px;
    color: #262626;
}

/* CONTAINER TOMBOL */
.app-stores {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* ukuran logo */
.app-stores img {
    width: 140px;
    height: auto;
    object-fit: contain;
}

/* HOVER EFFECT */
.store-btn img:hover {
    transform: scale(1.09);
}

/* KLIK EFFECT */
.store-btn img:active {
    transform: scale(1.05);
}


/* Footer Links */
.footer-links {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #8e8e8e;
    max-width: 935px;
    margin: 0 auto;
}

.footer-links a {
    color: #00376b;
    margin: 0 8px 12px;
    text-decoration: none;
    display: inline-block; /* Agar bisa pakai margin bawah */
}

.footer-links .copyright {
    margin-top: 20px;
}

.footer-links select {
    background-color: transparent;
    border: none;
    color: #8e8e8e;
    font-size: 12px;
    margin-right: 10px;
}