body {
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Changed from height to min-height for better responsiveness */
    margin: 0;
    padding: 20px; /* Added padding to prevent content from being cut off on smaller screens */
}

.Container {
    max-width: 1000px;
    width: 100%;
    height: auto; /* Allow the height to adjust dynamically */
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
    padding: 20px; /* Added padding for better spacing inside the container */
    box-sizing: border-box; /* Ensure padding is included in the width/height calculation */
}

.School img {
    width: 600px;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}

.Login {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box; /* Ensure padding is included in the width/height calculation */
}

.Login h2 {
    margin-bottom: 20px;
    color: #EC243B;
}

.input-container {
    width: 80%;
    position: relative;
    margin-bottom: 15px;
}

.input-container input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

.input-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
}

/* Style the reCAPTCHA area */
.g-recaptcha {
    margin: 10px auto 20px;
    transform: scale(1);
    transform-origin: center;
}

.Login button {
    width: 80%;
    padding: 10px;
    background-color: #EC243B;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.Login button:hover {
    background-color: #EC243B;
    text-decoration: underline;
}

.signup-text,
.forgot-password-text {
    margin-top: 15px;
    font-size: 14px;
}

.signup-link,
.forgot-password-link {
    color: #EC243B;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.signup-link:hover,
.forgot-password-link:hover {
    color: #EC243B;
    text-decoration: underline;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}
.recaptcha-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .Container {
        flex-direction: column;
        width: 90%;
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .School img {
        width: 100%;
        height: auto;
        border-radius: 10px 10px 0 0;
    }

    .Login {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(0.85); /* Scale down reCAPTCHA for smaller screens */
    }
}
