﻿body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    /*overflow:hidden;*/
}

.container-fluid {
    display: flex;
    flex-direction: row; /* Ensures side-by-side layout */
    align-items: stretch;
    min-height: 100vh;
    background-color: #FFF;
}


.left-side {
    background-image: url('../../Content/Image/Leap-Banner.jpg');
    background-size: cover;
    background-position: center;
    width: 50%; /* Keep width at 50% */
    min-height: 60vh; /* Reduce the minimum height */
    margin: 50px; /* Optional, keeps the margin */
}


.right-side {
    width: 40%;
    padding: 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1rem;
    border-radius: 8px;
}

.required-label {
    display: inline-flex;
    align-items: center;
}

    .required-label span {
        color: red;
        margin-left: 5px;
    }

.form-control {
    border: none;
    border-bottom: 4px solid #000000;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
    margin-bottom: 1rem;
}

.form-control-label {
    border: none;
    border-bottom: 1px solid #E8E8E8;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
    margin-bottom: 1rem;
    font-size: 18px;
}

.form-control:focus {
    border-color: #000;
    box-shadow: none;
}

.btn-primary {
    background-color: #000;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    width: auto; /* Smaller width */
    display: block;
    margin: 1rem auto 0;
}

.form-group {
    margin-bottom: 10px;
}

    .form-group label {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #000; /* Light grey label text */
    }

/* Responsive Fix for Mobile */
@media (max-width: 767.98px) {
    body, html {
        margin: 0;
        padding: 0;
        height: 100%;
        overflow: auto;
    }

    .container-fluid {
        flex-direction: column;
    }

    .left-side {
        width: 100%;
        min-height: 250px;
        margin: 0;
        margin-top: 10px;
    }

    .right-side {
        width: 100%;
        margin: 0;
        padding: 1rem;
    }

    .btn-primary {
        width: 100%; /* Full width button on mobile */
    }
}
/* For iPads and tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    body, html {
        margin: 0;
        padding: 0;
        height: 100%;
        overflow: auto;
    }

    .container-fluid {
        flex-direction: column;
    }

    .left-side {
        width: 100%;
        min-height: 280px;
        margin: 0;
        margin-top: 10px;
    }

    .right-side {
        width: 100%;
        margin: 0;
        padding: 1rem;
    }

    .btn-primary {
        width: 100%; /* Full width button on iPad */
    }
}

