html,
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--fg-color);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* Remove default padding */
    background: url(bg_login.jpg) no-repeat center center;
    -webkit-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    flex-direction: column;
    width: 100%;
    /* Ensure full width */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}


.login-container {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: (10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: left;
}

.login-form .logo img {
    display: flex;
    width: 150px;
    margin-bottom: 20px;
    margin: 0 auto;
}

.login-form h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #636364;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #202124;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #5f6368;
}

.error {
    color: red;
    margin-top: 10px;
    text-align: center;
}

.forgot-password {
    margin-top: 10px;
    text-align: left;

}

.forgot-password a {
    text-decoration: none;
    font-weight: bold;
    color: #636364;
    font-size: 0.8rem;
    text-decoration: underline;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.g_id_signin {
    display: flex;
    /* Use flexbox */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically (optional) */
    margin: 10px 0;
    /* Add some vertical spacing */
    padding: 10px 20px;
    /* Add padding for a better button size */
    color: white;
    /* Text color */
    font-size: 14px;
    /* Font size */
    font-weight: bold;
    /* Bold text */
    text-align: center;
    /* Center the text */
    cursor: pointer;
    /* Pointer cursor on hover */
    transition: background-color 0.3s;
    /* Smooth background color transition */
}

.image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-bottom: 100px;
}

.top-image img {
    margin-bottom: 20px;
    /* Space between the top image and the row below */
    filter: brightness(141%) contrast(71%) saturate(4%) blur(0px) hue-rotate(0deg);
    transition-duration: .5s;
}

.image-container {
    display: flex;
    gap: 20px;
    /* Space between images */
}

.image-container a img {
    transition-duration: .5s;
    max-width: 100px;
    /* Adjust as needed */
    height: auto;
    opacity: 1;
    filter: brightness(196%) contrast(0%) saturate(100%) blur(0px) hue-rotate(0deg);
}

.image-container img:hover {
    transform: scale(1.2);
    transition-timing-function: cubic-bezier(0.47, 2.02, .31, -.36);
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    background: linear-gradient(170deg, rgba(58, 56, 56, 0.623) 0%, rgb(31, 31, 31) 100%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
    color: white;
    position: fixed;
    /* Fixed position */
    bottom: 0;
    /* Stick to the bottom */
    left: 0;
    /* Full width from left */
}

.footer-left,
.footer-middle,
.footer-right {
    flex: 1;
    text-align: center;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
    margin-right: 30px;
}

#language-select {
    width: 150px;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
}
#language-select:hover {
    border-color: #888;
}

/* Shared styles for screens up to 768px */
@media (max-width: 768px) {
    footer {
        padding: 10px;
    }

    .footer-right {
        text-align: right;
        margin-right: 20px;
        font-size: small;
    }

    .login-container {
        padding: 5px;
        max-width: 92%;
    }

    .footer-middle {
        font-size: small;
        display: none;
    }

    .footer-left {
        text-align: left;
        font-size: small;
    }
}
