/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    background-color: #f6f8fb;
}

/* Container Layout */
.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left Image Section */
.login-image {
    width: 60%;
    overflow: hidden;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Login Form Section */
.login-form {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.form-box {
    width: 80%;
    max-width: 400px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.subtitle {
    color: #777;
    font-size: 14px;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
}

input:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 102, 204, 0.3);
}

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 36px;
    cursor: pointer;
    color: #777;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: #004c99;
}

.register-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.register-link a {
    color: #0066cc;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
    .login-container {
        flex-direction: column;
    }

    .login-image {
        width: 100%;
        height: 40vh;
    }

    .login-form {
        width: 100%;
        height: 60vh;
    }

    .form-box {
        width: 90%;
        max-width: 350px;
    }
}
