body {
    margin: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh; /* Ensure the body spans the viewport */
    display: flex;
    flex-direction: column; /* Stack content vertically */
}

.container {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh; /* Ensure the container spans the full height */
    overflow-y: auto; /* Enable scrolling when content overflows */
}

/* Left Section */
.left-section {
    flex: 1;
    background: linear-gradient(135deg, #003366, #005099);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.slideshow-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    background-color: #fff;
    border-radius: 25px;
    color: black;
    overflow: hidden;
}

.slideshow-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.logo-image {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

.dots-container {
    margin-top: 15px;
    text-align: center;
}

.dot {
    height: 15px;
    width: 75px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: navy;
}

/* Right Section */
.right-section {
    flex: 1;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto; /* Enable vertical scrolling */
    box-sizing: border-box;
    height: auto; /* Allow the height to adjust dynamically */
}

.form-container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px; /* Prevent content cutoff */
}

h2 {
    color: #003366;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.ui-inputfield {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.ui-inputfield:focus {
    border-color: #003366;
    box-shadow: 0 0 5px rgba(0, 51, 102, 0.5);
}

.password-container {
    position: relative;
    width: 100%;
}

.ui-password {
    width: calc(100% - 20px);
    box-sizing: border-box;
    padding-right: 50px;
    height: 40px;
}

.password-toggle-container {
    position: absolute;
    top: 45%;
    right: 1px;
    transform: translateY(-50%);
}

.password-toggle-container input {
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
}

.password-toggle-container input:hover {
    background-color: #002244;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #002244;
}

.additional-login {
    margin-top: 15px;
}

.login-option {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #003366;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.login-option:hover {
    background-color: #003366;
    color: #fff;
}

.contact-info {
    margin-top: 20px;
    font-size: 16px;
    text-align: center;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.login-footer {
    font-size: 10px;
    text-align: center;
    margin-top: 20px;
}

.error-messages {
    color: red;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto; /* Allow content to flow */
    }

    .left-section {
        display: none; /* Hide left section on small screens */
    }

    .right-section {
        width: 100%;
        padding: 10px;
        height: auto; /* Adjust height for scrolling */
    }

    .form-container {
        max-width: 90%;
        margin: auto;
    }
}
