/* loader.css */

/* General loader container style */
#loader {
    display: none; /* Hidden by default */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    text-align: center;
}

/* Blur background while loader is active */
.loader-active #content {
    filter: blur(5px); /* Blurs the content when loader is shown */
    pointer-events: none; /* Prevent interaction with blurred content */
    opacity: 0.7; /* Adds a slight transparency to the background */
}

.loader-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-dot {
    width: 15px;
    height: 15px;
    margin: 5px;
    border-radius: 50%;
    animation: pulse 1.2s infinite ease-in-out both;
}

.loader-dot:nth-child(1) {
    background-color: #F9547C; /* Brink Pink */
    animation-delay: 0s;
}

.loader-dot:nth-child(2) {
    background-color: #08AEE0; /* Cerulean Crayola */
    animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
    background-color: #FFE32B; /* Yellow Pantone */
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

/* Optional text below the loader */
.loader-text {
    font-size: 18px;
    color: #3498db;
    font-weight: bold;
    margin-top: 10px;
}
