#wc-loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

#wc-loading-overlay.active {
    display: flex;
}

#wc-loading-box {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    max-width: 320px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    animation: wcPopIn 0.25s ease forwards;
}

@keyframes wcPopIn {
    from {
        transform: scale(0.88);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.wc-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--wp--preset--color--accent-1);
    border-radius: 50%;
    animation: wcSpin 0.75s linear infinite;
    margin: 0 auto 1.25rem;
}

@keyframes wcSpin {
    to {
        transform: rotate(360deg);
    }
}

#wc-loading-box h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

#wc-loading-box p {
    margin: 0 0 1.25rem;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.wc-progress-track {
    height: 4px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
}

.wc-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--wp--preset--color--accent-1);
    border-radius: 99px;
    transition: width 0.4s ease;
}
