body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    min-height: 100vh;
}

.split-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.image-half {
    flex: 1;
    background-image: url('../img/login.jpg');
    background-size: cover;
    background-position: center;
}

.form-half {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-color);
}

.login-form {
    max-width: 400px;
    width: 100%;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add these to your existing styles */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Preserves aspect ratio */
    object-position: center; /* Centers the image */
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.login-form {
    position: relative;
    /* For absolute positioning of copyright */
    min-height: 400px;
    /* Adjust based on content */
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input,
input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--btn-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--btn-hover-color);
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-color);
    text-decoration: none;
    display: block;
}

@media (max-width: 1024px) {
    .split-container {
        flex-direction: column-reverse;
    }

    .image-half {
        height: 50vh;
        flex: none;
    }

    .form-half {
        flex: 1;
    }
}