/* SHA TIN GROUP - LoadLab Animated CSS3 Loader */

.loadlab-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

.loadlab-overlay.active {
    display: flex;
}

.loadlab-container {
    text-align: center;
}

.loadlab-spinner {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto 25px;
}

.loadlab-spinner::before,
.loadlab-spinner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

.loadlab-spinner::before {
    border-top-color: #d4af37;
    border-right-color: #d4af37;
    animation: loadlab-spin 1.2s linear infinite;
}

.loadlab-spinner::after {
    inset: 8px;
    border-bottom-color: #f0d78c;
    border-left-color: #f0d78c;
    animation: loadlab-spin 0.8s linear infinite reverse;
}

.loadlab-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: loadlab-pulse 2s ease-in-out infinite;
}

.loadlab-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.loadlab-dots span {
    width: 10px;
    height: 10px;
    background: #d4af37;
    border-radius: 50%;
    animation: loadlab-bounce 1.4s ease-in-out infinite;
}

.loadlab-dots span:nth-child(2) { animation-delay: 0.2s; }
.loadlab-dots span:nth-child(3) { animation-delay: 0.4s; }

.loadlab-text {
    color: #d4af37;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: loadlab-fade 2s ease-in-out infinite;
}

.loadlab-bar {
    width: 200px;
    height: 3px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 2px;
    margin: 15px auto 0;
    overflow: hidden;
}

.loadlab-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #f0d78c, #d4af37);
    border-radius: 2px;
    animation: loadlab-progress 2s ease-in-out forwards;
}

@keyframes loadlab-spin {
    to { transform: rotate(360deg); }
}

@keyframes loadlab-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes loadlab-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

@keyframes loadlab-fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes loadlab-progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Inline button loader */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: loadlab-spin 0.6s linear infinite;
}
