.wc-loader-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.wc-loader-overlay.visible {
    display: flex;
}

.wc-loader-overlay.dark {
    background: rgba(17, 24, 39, 0.55);
}

.wc-loader-overlay.blur {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.wc-loader-ring {
    position: relative;
    width: 64px;
    height: 64px;
}

.wc-loader-ring div {
    box-sizing: border-box;
    position: absolute;
    width: 48px;
    height: 48px;
    margin: 8px;
    border: 4px solid #fff;
    border-radius: 50%;
    animation: wc-loader-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.wc-loader-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.wc-loader-ring div:nth-child(2) {
    animation-delay: -0.30s;
}

.wc-loader-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes wc-loader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.wc-loader-caption {
    color: #fff;
    font-size: 1.125rem;
    margin-top: 1rem;
    font-weight: 500;
    text-align: center;
}