/* Centering the card horizontally */
.center-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Styling for the background image */
body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Fixed background */
    min-height: 100vh;
    /* Ensure the background covers the whole viewport */
    margin: 0;
    /* Remove default body margin */
    padding: 0;
    /* Remove default body padding */
}

.card {
    background-color: rgba(255, 255, 255, 0.8);
    /* Semi-transparent background for card */
}

/* Styling for the loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Ensure it appears above other content */
}

.loader {
    border: 5px solid #f3f3f3;
    /* Light grey */
    border-top: 5px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Loader animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}