/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
}

.container-fluid {
    width: 100%; /* Optional: Set a specific width, e.g., 80% */
    max-width: 2400px; /* Optional: Restrict maximum width for larger screens */
    height: auto; /* Allow content to determine height */

}

/* Left Column Styling */
.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 100%;
}

.logo {
    max-height: 100px;
    margin-bottom: 50px;
}

section {
    width: 80%;
    max-width: 500px; /* Ensure it's not overly narrow */
    margin: 0 auto; /* Center-align the section */
}

.left-column h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

/* Form Styling */
form {
    width: 100%; /* Ensure the form takes the full column width */
    max-width: 500px; /* Limit maximum width for larger screens */
}

.form-floating input,
.form-floating label {
    width: 100%; /* Ensure inputs are full width */
    font-size: 16px;
}

button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 20px;
    /* background-color: #007bff;*/
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
}

    button:hover {
        background-color: #0056b3;
    }

/* Right Column Styling */
.right-column {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensure content doesn't spill outside the column */
    position: relative; /* Necessary for child elements like the image to be constrained */
}

    .right-column img {
        object-fit: cover; /* Ensures the image fills the space while maintaining aspect ratio */
        height: 100%; /* Match the height of the column */
        width: 100%; /* Match the width of the column */
        max-width: 100%; /* Prevent the image from overflowing horizontally */
        max-height: 100%; /* Prevent the image from overflowing vertically */
    }

/* Responsive Design */
@media (max-width: 768px) {
    .right-column {
        display: none;
    }

    .left-column {
        width: 100%; /* Use full width on mobile */
        padding: 20px;
    }

    form {
        max-width: 100%;
    }
}
