.loading-container {
    position: absolute; /* Confined to the parent container */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1); /* Light overlay effect */
    z-index: 10; /* Ensures it’s above other content inside the modal */
    border-radius: inherit; /* Matches modal border-radius */
    padding: 20px; /* Adds spacing inside modal */
}
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #1e90ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-container p {
    margin-top: 20px;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
}
