body {
    background-image: url('media/esagiplogo.png'); /* Add your background image here */
    background-size: cover; /* Cover the entire background */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the background image from repeating */
    background-attachment: fixed; /* Keep the background fixed during scrolling */
    height: 100vh; /* Make the body take the full viewport height */
    margin: 0; /* Remove default margin */
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(255, 255, 255, 0.75); /* White background with 75% opacity */
    padding: 2.49vw; /* Padding inside the container */
    border-radius: 0.418vw;
    box-shadow: 0 0 1.045vw rgba(0, 0, 0, 0.2);
    width: 73.18vw; /* Set width to 1400px */
    height: 28.85vw; /* Set height to 550px */
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(10, 1fr); /* Create 10 equal columns */
    gap: 0.83vw; /* Space between columns */
}

.login-form {
    grid-column: 2 / span 3; /* Change to span from column 2 to column 4 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the content vertically */
}

.login-form h2 {
    margin-bottom: 0.83vw;
    text-align: center;
    color: #333;
}

.input-group {
    margin-bottom: 0.83vw;
}

.input-group label {
    margin-bottom: 0.415vw;
    color: #666;
}

.input-group input {
    padding: 0.415vw;
    padding-right: 1.9vw;
    border: 0.05227vw solid #ccc;
    border-radius: 0.209vw;
    width: 100%; /* Full width to match container */
    box-sizing: border-box;
    font-size: 1vw;
}

.input-group input:focus {
    border-color: #007BFF;
    outline: none;
}

.input-group-password {
    margin-bottom: 0.83vw;
}

.input-group-password label {
    margin-bottom: 0.415vw;
    color: #666;
}

.input-group-password input {
    padding: 0.415vw;
    border: 0.05227vw solid #ccc;
    border-radius: 0.209vw;
    width: 100%; /* Full width to match container */
    box-sizing: border-box;
    font-size: 1vw;
}

.input-group-password input:focus {
    border-color: #007BFF;
    outline: none;
}

button {
    padding: 0.415vw; /* Padding for button */
    border: none;
    border-radius: 0.261vw;
    background-color: #007BFF;
    color: #ffffff;
    cursor: pointer;
    font-size: 1vw;
    width: 100%; /* Full width to match container */
}

button:hover {
    background-color: #0056b3;
}

.message {
    margin-top: 0.83vw;
    text-align: center;
    color: #666;
}

.message a {
    color: #007BFF;
    text-decoration: none;
}

.message a:hover {
    text-decoration: underline;
}

.responsive-font {
    font-size: 1vw; /* 2% of the viewport width */
}

.adminaccessonlycss {
    font-size: 2vw;
}

.icon {
    position: absolute;
    width: 1vw;
    margin-top: 0.45vw;
    height: auto;
    right: 58.5%;
}

.error-message {
    color: red;
    text-align: center;
    font-size: 1.175vw;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10vh auto;
    padding: 2vw;
    border: 0.2vw solid #888;
    width: 80vw;
    max-width: 60vw;
    max-height: 80vh; /* Limit the height of modal content */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-content div {
    overflow-y: auto;
    max-height: calc(80vh - 10vw); /* Adjusts to prevent overflow */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}