.mainBody {
    background-color: #caedf1;
    min-height: 100vh; /* Ensures the body takes full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Ensures the card doesn't get too wide on larger screens */
    width: 100%; /* Full width on smaller screens */
    min-height: 450px; /* Set a minimum height */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
}

.mainCard {
    background-color: #0c0765;
    height: 5px;
}

.btnSize {
    width: 100%; /* Full width button for all screens */
}

.forgot {
    text-decoration: none;
    color: black;
}

.card img {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .card {
        max-width: 450px; /* Slightly wider on medium and up screens */
    }
}


#error-message {
    color: red;
    display: none;

}

.invalid-feedback {
    color: red;
    display: block;
}