/* Overlay */
#global-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 15, 0.55);
    backdrop-filter: blur(4px);
    z-index: 999999;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Center box */
.global-loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 20px 28px;
    background: rgba(25, 25, 25, 0.9);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Spinner */
.global-loader-spinner {
    width: 58px;
    height: 58px;
    border: 6px solid rgba(255, 255, 255, 0.22);
    border-top-color: #4a90e2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Title */
.loader-title {
    margin: 0;
    margin-top: 6px;
    font-size: 18px;
    color: #f0f0f0;
    font-weight: 600;
}

/* Description */
.loader-desc {
    margin: 0;
    font-size: 14px;
    color: #cccccc;
    line-height: 1.45;
    max-width: 240px;
}

/* Spin animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}





