/* Yoapp global navigation / form-submit processing overlay */
.yoapp-global-loader {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.yoapp-global-loader--visible {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.yoapp-global-loader__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.yoapp-global-loader__card {
    position: relative;
    z-index: 1;
    min-width: 220px;
    max-width: 320px;
    padding: 28px 32px 24px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08);
    text-align: center;
    animation: yoapp-global-loader-card-in 0.28s ease;
}

.yoapp-global-loader__spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 4px solid rgba(223, 120, 45, 0.18);
    border-top-color: #df782d;
    animation: yoapp-global-loader-spin 0.85s linear infinite;
    box-shadow: 0 0 0 6px rgba(223, 120, 45, 0.08);
}

.yoapp-global-loader__pulse {
    position: absolute;
    top: 28px;
    left: 50%;
    width: 52px;
    height: 52px;
    margin-left: -26px;
    border-radius: 50%;
    background: rgba(223, 120, 45, 0.12);
    animation: yoapp-global-loader-pulse 1.4s ease-out infinite;
    pointer-events: none;
}

.yoapp-global-loader__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: 0.01em;
}

.yoapp-global-loader__subtitle {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

@keyframes yoapp-global-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes yoapp-global-loader-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@keyframes yoapp-global-loader-card-in {
    from {
        transform: translateY(8px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}
