/* ========================================
 * BEBANSTORE LOADER STYLES
 * ======================================== */

/* Loading State */
.bebanstore-loading {
    position: relative;
    pointer-events: none;
}

/* Loader Overlay */
.bebanstore-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: inherit;
    z-index: 10;
}

/* Text Loader */
.bebanstore-text-loader {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* Universal Button Loader - Works for any button */
.bebanstore-loading .bebanstore-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    height: 100%;
}

.bebanstore-loading .bebanstore-dots .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
    animation: bebanstore-dots-bounce 1.4s ease-in-out infinite both;
}

.bebanstore-loading .bebanstore-dots .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.bebanstore-loading .bebanstore-dots .dot:nth-child(2) {
    animation-delay: -0.16s;
}

.bebanstore-loading .bebanstore-dots .dot:nth-child(3) {
    animation-delay: 0s;
}

/* Spinner for any button */
.bebanstore-loading .bebanstore-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: bebanstore-spin 0.8s linear infinite;
    margin: 0 auto;
}

/* Pulse for any button */
.bebanstore-loading .bebanstore-pulse {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: currentColor;
    animation: bebanstore-pulse 1.2s ease-in-out infinite;
    margin: 0 auto;
}

/* Main Loader Component */
/* .bebanstore-loader {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: bebanstore-spin 0.8s linear infinite;
    margin: 0 auto;
} */

/* Dots Loader Component */
/* .bebanstore-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 100%;
}

.bebanstore-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    animation: bebanstore-dots-bounce 1.4s ease-in-out infinite both;
} */







/* ========================================
 * ANIMATION KEYFRAMES
 * ======================================== */

/* Spinner animation */
@keyframes bebanstore-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Dots bounce animation */
@keyframes bebanstore-dots-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Pulse animation */
@keyframes bebanstore-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* ========================================
 * RESPONSIVE DESIGN
 * ======================================== */

@media (max-width: 768px) {
    .bebanstore-loading .bebanstore-dots .dot {
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .bebanstore-loading .bebanstore-dots .dot {
        width: 2px;
        height: 2px;
    }
} 