body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin-top: 10%;
    margin-left: 15%;
    display: flex;
    flex-direction: column;
    height: 90%; /* Full viewport height */
    width: 50%;
}

.container {
    display: flex;
    flex: 1; /* Make container fill available space */
}

.description {
    flex: 0 0 60%; /* Fixed width of 40% for description */
    background-color: #2125A3; /* Blue background */
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-container {
    margin-bottom: 20px; /* Space between logo and text */
}

.logo {
    max-width: 150px; /* Adjust logo size */
    height: auto;
}



h2 {
    color: white;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}



button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
}

.login-container {
    flex: 0 0 60%; /* Adjust width to 40% */
    margin: auto; /* Center the login container within its parent */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center elements vertically */
    align-items: center; /* Center elements horizontally */
    max-width:600px; /* Set a maximum width */
   
}

.login-logo {
    max-width: 100px; /* Adjust logo size */
    height: auto;
    margin-bottom: 20px; /* Space between logo and form */
}

form {
    width: 100%; /* Ensure the form takes full width */
    display: flex;
    flex-direction: column; /* Stack form elements */
    align-items: center; /* Center form elements */
}

input[type="text"],
input[type="password"] {
    width: 120%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    width: 15%;
    padding: 10px;
    background-color: #2125A3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth transition */
}


footer {
    text-align: center;
    padding: 10px 0;
    background-color: #ffffff;
    color: #666;
    margin-top: 20px; /* Space above footer */
}
@media only screen and (max-width: 780px) {
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100vh; /* Full viewport height */
        display: flex;
        flex-direction: column !important;
        justify-content: center; /* Vertically center content */
        align-items: center; /* Horizontally center content */
        overflow: hidden; /* Prevent scrolling */
    }

    .container {
        flex-direction: column !important;
        width: 100% !important; /* Full width */
    }

    .description {
        flex: 0 0 40% !important; /* Set height to 30% of viewport */
        width: 100% !important;
        margin-bottom: 10px !important; /* Slightly smaller margin */
        padding: 15px !important; /* Adjusted padding */
        box-sizing: border-box;
        text-align: center; /* Center content */
        overflow: auto; /* Allow scrolling if content exceeds height */
    }

    .logo, .login-logo {
        max-width: 90px !important; /* Slightly reduce logo size */
        height: auto !important;
        margin-bottom: 5px; /* Reduced gap below logo */
    }

    h2 {
        font-size: 1.5em; /* Adjust font size of h2 */
        margin: 5px 0; /* Reduced margin above and below h2 */
    }

    p {
        font-size: 1em; /* Adjust font size of p */
        margin: 5px 0; /* Reduced margin above and below p */
    }

    .login-container {
        flex: 0 0 auto !important;
        width: 100% !important;
        padding: 10px !important; /* Reduced padding */
        max-width: 100% !important;
        box-shadow: none !important;
        box-sizing: border-box;
        margin: 0;
    }

    button {
        width: 60% !important; /* Slightly smaller button width */
        padding: 8px !important; /* Reduced padding */
    }

    input[type="text"],
    input[type="password"] {
        width: 100% !important; /* Increased input width to 90% */
        padding: 6px !important; /* Smaller padding for inputs */
        border-radius: 4px;
        box-sizing: border-box;
    }
}


