body {
    font-family: Arial, sans-serif;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('../img/bg4.jpg') no-repeat center center/cover;
    margin: 0;
}

.container {
    display: grid;
    grid-template-columns: 65% 35%;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: calc(100vw - 80px);
    height: calc(100vh - 80px);
}

.image-container {
    display: flex;
    justify-content: center;
    /* Centers image horizontally */
    align-items: center;
    /* Centers image vertically */
    height: 100%;
    /* Ensures full height of the container */
    width: 100%;
    /* Ensures full width */
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centers image and text */
    text-align: center;
}

.image-container img {
    max-height: 300px;
    /* Keeps image size */
    max-width: 100%;
    /* Prevents overflow */
    object-fit: contain;
    /* Prevents distortion */
    border-radius: 10px;
    /* Optional: Rounded edges */
}

.image-caption {
    margin-top: 8px;
    font-size: 24px;
    color: white;
    /* Subtle gray text */
    font-weight: 500;
}


.login-container {
    background: white;
    padding: 5%;
    /* Increased padding for a larger feel */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    /* Slightly stronger shadow */
    border-radius: 10px;
    width: 60%;
    /* Increased width */
    min-height: 500px;
    min-width: 350px;
    /* Makes it taller */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers content vertically */
    align-items: center;
}

input {
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    /* Bigger input fields */
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    /* Larger text */
}

button {
   
    padding: 12px;
    font-size: 16px;
    /* Bigger button text */
    background: #00a3ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #008fdf;
}

button:hover {
    background: #008fdf;
}

.captcha-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-container img {
    width: 100%;
    cursor: pointer;
}

#captchaImage {
    display: block;
    margin: 0 auto;
    /* Centers horizontally */
    max-width: 100%;
    /* Ensures it doesn't overflow */
    height: auto;
    /* Maintains aspect ratio */
}

.kiosSelect {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
}

/* Make it a top-bottom layout when the screen is small */
@media (max-width: 1000px) {
    .container {
        grid-template-columns: 1fr;
        /* Single column */
        grid-template-rows: auto auto;
        /* Image on top, form below */
        justify-items: center;
        /* Center items horizontally */
    }

    .image-container img {
        max-height: 250px;
        /* Reduce image size for smaller screens */
        width: auto;
    }

    .login-container {
        width: 45%;
        padding: 0;
        min-height: 550px;
        min-width: 350px;
    }
}