.mainBody {
    background-color: #639eea;
    min-height: 100vh; /* Ensures the body takes full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainBody .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 */
}

.mainBody .mainCard {
    background-color: #0c0765;
    height: 5px;
}

.mainBody .btnSize {
    width: 100%; /* Full width button for all screens */
}

.forgot {
    text-decoration: none;
    color: black;
}

.mainBody .card img {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .mainBody .card {
        max-width: 450px; /* Slightly wider on medium and up screens */
    }
}


#error-message {
    color: red;
    display: none;

}

.invalid-feedback {
    color: red;
    display: block;
}


.fixed-footer {
    /* position: fixed; */
    bottom: 0;
    width: 100%;
    height: 60px; /* Adjust based on your design */
    background-color: #004378; /* Dark background */
    color: #000000;
}


.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }