﻿
.fullscreen-div {
    display: none; /* Initially hidden */
    position: fixed; /* Make the div fixed on the screen */
    top: 0; /* Align the div to the top */
    left: 0; /* Align the div to the left */
    width: 100vw; /* Set width to 100% of the viewport width */
    height: 100vh; /* Set height to 100% of the viewport height */
    background-color: rgba(255, 255, 255, 0.3); /* Optional background color */
    z-index: 1999; /* Ensure it is on top of other elements */
}

.loading {
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2000;
    pointer-events: none; /* Make the spinner non-clickable */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
