* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
}

/* Background */
body {
    min-height: 100vh;
    background-image: url(../uploads/bg/gradient-bg.png);
    background-size: 200%;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Container */
.login-container {
    width: 100%;
    padding: 20px;
}

/* Card */
.login-card {
    max-width: 900px;
    margin: auto;
    background: #fff;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}



/* Image section */
.login-image {
    flex: 1;
    background: url("../uploads/bg/login-car.jpg") center/cover no-repeat;
    padding: 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-blend-mode: overlay;
   background-color: rgb(70, 70, 70);
}

.login-image h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* PASSWORD WRAPPER */
.password-wrapper {
    position: relative;
}

/* ICON EYE */
.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #999;
    user-select: none;
}

.toggle-password:hover {
    color: #b81414;
}

/* Form section */
.login-form {
    flex: 1;
    padding: 50px;
}

.login-form h1 {
    color: #b81414;
    margin-bottom: 30px;
    text-align: center;
}

/* Input */
.form-group input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 30px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    outline: none;
}

.form-group input:focus {
    border-color: #d22e2e;
}

/* Options */
.form-options {
    margin-bottom: 20px;
    font-size: 14px;
}

/* Button */
button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 12px;
}

/* Login */
.btn-login {
    background: #b81414;
    color: #fff;
}

.btn-login:hover {
    background: #d22e2e;
}

/* Links */
.links {
    margin-top: 20px;
    text-align: center;
}

.links a {
    display: block;
    font-size: 14px;
    color: #4e73df;
    text-decoration: none;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {

    body {
        background-size: 600%;   /* zoom gambar */
        background-position: center;
    }
    .login-card {
        flex-direction: column;
    }

    .login-image {
        display: none;
    }

    .login-form {
        padding: 30px;
    }
}
