* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f5f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 900px;
    min-height: 550px;
    background: white;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* =========================
   BAGIAN GAMBAR
========================= */

.login-image {
    width: 50%;
    background-image:
        linear-gradient(
            rgba(0, 80, 50, 0.65),
            rgba(0, 0, 0, 0.65)
        ),
        url("gambar-desa.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    color: white;
    text-align: center;
    padding: 30px;
}

.overlay h1 {
    font-size: 30px;
    margin-bottom: 15px;
}

.overlay p {
    font-size: 18px;
}

/* =========================
   FORM LOGIN
========================= */

.login-form {
    width: 50%;
    padding: 55px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #16a34a;
    color: white;

    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
}

.login-form h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Input */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
}

/* Password */

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 45px;
}

.show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

/* Options */

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 13px;
    margin-bottom: 25px;
}

.form-options a {
    color: #16a34a;
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

/* Button */

.btn-login {
    width: 100%;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #16a34a;
    color: white;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #15803d;
    transform: translateY(-1px);
}

/* Message */

#message {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

/* Footer */

.footer {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 30px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .login-container {
        width: 95%;
        min-height: auto;
    }

    .login-image {
        display: none;
    }

    .login-form {
        width: 100%;
        padding: 40px 30px;
    }
}