/* ============================================
   BRANDED UK - GLOBAL LOADER ANIMATION
   ============================================
   
   To change the loader animation, edit only this file.
   Used across all pages for consistent loading experience.
   
   ============================================ */

/* Loader Container - Centers the animation */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
}

/* Products Loader - Grid context */
.products-loader {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    min-height: 400px;
}

/* ============================================
   DOTS ANIMATION (Branded Purple)
   ============================================ */

.dots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.dots-container .dot {
    height: 20px;
    width: 20px;
    margin-right: 10px;
    border-radius: 10px;
    background-color: #c4b5fd;
    animation: pulse 1.5s infinite ease-in-out;
}

.dots-container .dot:last-child {
    margin-right: 0;
}

.dots-container .dot:nth-child(1) {
    animation-delay: -0.3s;
}

.dots-container .dot:nth-child(2) {
    animation-delay: -0.1s;
}

.dots-container .dot:nth-child(3) {
    animation-delay: 0.1s;
}

.dots-container .dot:nth-child(4) {
    animation-delay: 0.3s;
}

.dots-container .dot:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        background-color: #c4b5fd;
        box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.7);
    }
    50% {
        transform: scale(1.2);
        background-color: #7c3aed;
        box-shadow: 0 0 0 10px rgba(167, 139, 250, 0);
    }
    100% {
        transform: scale(0.8);
        background-color: #c4b5fd;
        box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.7);
    }
}

/* Loader Text */
.loader-text {
    margin-top: 24px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
}

/* Fullscreen Page Loader */
.page-loader-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
