/* Apply flexbox layout to the login container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row; /* Default layout - Image on left, login box on right */
    width: 100%;
    height: 100vh; /* Ensure it takes up the full screen height */
}

/* Moved Zeyara Logo Higher */
.login-to-zeyara-container {
    margin-top: 90px; /* Move Higher */
    margin-bottom: 20px; /* More Space Below */
}

/* Login Image */
.login-image {
    height: auto;
    max-width: 40%;
    margin-right: 20px; /* Ensure some space between the image and the login box */
}

/* Login Box - Positioned Center-Right */
.login-box {
    width: 90%;
    max-width: 500px;
    height: auto;
    padding: 4%;
    font-size: 1rem;
    color: #786444;
    font-family: 'Poppins', sans-serif;
    background-color: #ede6f1;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Input Fields */
.input-field {
    width: 90%;
    max-width: 400px;
    padding: 1rem;
    font-size: 1.2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: #fff;
    margin: 1rem auto;
}

/* Responsive Button */
.login-button {
    width: 90%;
    max-width: 400px;
    padding: 1rem;
    font-size: 1.2rem;
    border: none;
    background-color: #3f1651;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 26px;
}

    .login-button:hover {
        background-color: #786444;
    }

/* Language Selector */
.choose-language {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #3f1651;
    font-family: 'SST Arabic', sans-serif;
}

.aman-information-systems {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1); /* Optional: Adds a slight background for readability */
}

/* Mobile and Tablet Layout (Stack Image Above the Login Box) */
@media (max-width: 1024px) {
    .login-container {
        flex-direction: column; /* Stack items vertically */
        justify-content: center;
        align-items: center;
    }

    .login-image {
        max-width: 70%; /* Reduce image size */
        margin-bottom: 2rem; /* Add space below the image */
    }

    .login-box {
        width: 90%; /* Full width for the login box */
        max-width: 500px;
    }
    .body {
        overflow-y: auto
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column; /* Stack items vertically */
    }

    .login-image {
        max-width: 80%; /* Further reduce image size */
        margin-bottom: 2rem; /* Space below image */
    }

    .login-box {
        width: 90%;
        max-width: 450px;
    }
    .body {
        overflow-y: auto
    }
}

@media (max-width: 600px) {
    .login-box {
        width: 95%;
        padding: 7%;
        border-radius: 20px;
    }

    .login-image {
        max-width: 90%;
    }
    .body {
        overflow-y: auto
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 7%;
        border-radius: 20px;
    }

    .login-image {
        max-width: 90%;
    }

    .input-field,
    .login-button {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
    .body{
        overflow-y:auto
    }
}
/* Hide login image and center the login box for screens 1220px or less */
@media (max-width: 1220px) {
    .login-container {
        flex-direction: column; /* Stack items vertically */
        justify-content: center;
        align-items: center;
    }

    .login-image {
        display: none; /* Hide the login image */
    }

    .login-box {
        width: 90%;
        max-width: 500px; /* Center the login box */
    }

}

@media(max-width: 1241){
    .aman-information-systems {
        bottom: -38px;
    }
}

@media(max-width: 1034) {
    .aman-information-systems {
        bottom: -88px;
    }
}

@media(max-width: 776) {
    .aman-information-systems {
        bottom: -155px;
    }
}