* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e9eaec 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.container {
    background: white;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 950px;
    display: flex;
    overflow: hidden;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Kolom kiri (gambar) --- */
.image-side {
    flex: 1;
    background: linear-gradient(135deg, #9eb6e0 0%, #fdfbfe 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.image-side img {
    width: 100%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 10px 35px rgba(0, 0, 0, 0.3));
}

/* --- Kolom kanan (login) --- */
.login-container {
    font-family: 'Poppins', sans-serif;
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    color: #333;
    font-size: 30px;
    margin-bottom: 12px;
}

.login-header p {
    color: #666;
    font-size: 15px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 15px;
}

.input-wrapper {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.form-group input::placeholder {
    color: #adb5bd;
}

.forgot-password {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 35px;
}

.forgot-password a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #764ba2;
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #667eea 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.7);
}

.btn-login:active {
    transform: translateY(0);
}

/* --- Responsif --- */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-side {
        display: none;
    }

    .login-container {
        padding: 40px 25px;
    }

    .login-header h1 {
        font-size: 25px;
    }
}