#global-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    pointer-events: none;
}

#global-loader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition-delay: 0s;
}

#global-loader .spinner-ring {
    position: relative;
    width: 56px;
    height: 56px;
}

#global-loader .spinner-ring::before,
#global-loader .spinner-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

#global-loader .spinner-ring::before {
    border-top-color: #2d8659;
    border-right-color: #2d8659;
    animation: global-spin 0.9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

#global-loader .spinner-ring::after {
    inset: 6px;
    border-bottom-color: #4da576;
    border-left-color: #4da576;
    animation: global-spin 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite reverse;
}

#global-loader .spinner-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: #2d8659;
    border-radius: 50%;
    animation: global-pulse 1s ease-in-out infinite;
}

@keyframes global-spin { to { transform: rotate(360deg); } }
@keyframes global-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.3; }
}
