#kp-global-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    background: #ffffff;
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease, visibility .35s ease;
}

#kp-global-loader.kp-loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.kp-loader-logo-wrap {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 5px 28px rgba(196, 70, 255, .12);
    animation: kp-loader-pulse 1.8s ease-in-out infinite;
    position: relative;
}

.kp-loader-logo-wrap::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 3px solid rgba(196, 70, 255, .14);
    border-top-color: #C446FF;
    border-right-color: #C446FF;
    animation: kp-loader-spin 1.15s linear infinite;
}

.kp-loader-logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
}

.kp-loader-label {
    color: #66616d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .2px;
}

@keyframes kp-loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes kp-loader-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
    .kp-loader-logo-wrap,
    .kp-loader-logo-wrap::before {
        animation: none;
    }
}
