﻿/* ===========================
   WMS LOADER
=========================== */

.content-section-dashboard,
.loader-container {
    position: relative;
    min-height: 300px;
}

/* FULL SCREEN */

.wms-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(240,90,34,.08), transparent 40%), radial-gradient(circle at bottom left, rgba(109,110,113,.06), transparent 40%), rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* CONTENT AREA ONLY */

.wms-loader-content {
    position: absolute;
    inset: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,.80);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: all;
    border-radius: inherit;
}

/* CARD */

.wms-loader-card {
    min-width: 320px;
    max-width: 420px;
    padding: 32px 40px;
    background: rgba(255,255,255,.97);
    border-radius: 24px;
    border: 1px solid rgba(240,90,34,.10);
    text-align: center;
    box-shadow: 0 12px 32px rgba(0,0,0,.08), 0 0 24px rgba(240,90,34,.08);
    animation: wms-card-show .25s ease-out;
}

/* LOGO */

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    animation: wms-float 2.5s ease-in-out infinite;
}

    .logo-wrapper svg {
        width: 220px;
        height: auto;
    }

/* LOADING DOTS */

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

    .loading-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #F05A22;
        box-shadow: 0 0 8px rgba(240,90,34,.35), 0 0 15px rgba(240,90,34,.20);
        animation: wms-dot-bounce 1.4s infinite ease-in-out;
    }

        .loading-dots span:nth-child(2) {
            animation-delay: .2s;
        }

        .loading-dots span:nth-child(3) {
            animation-delay: .4s;
        }

/* TEXT */

.loading-text {
    color: #6D6E71;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
}

/* ANIMATIONS */

@keyframes wms-dot-bounce {
    0%, 80%, 100% {
        transform: scale(.7);
        opacity: .4;
    }

    40% {
        transform: scale(1.4);
        opacity: 1;
    }
}

@keyframes wms-float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes wms-card-show {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
