.ux-loader {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(244, 247, 255, 0.58);
    backdrop-filter: blur(8px);
    z-index: 99999;
}

.ux-loader.is-visible {
    display: flex;
}

.ux-loader-card {
    min-width: 220px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 55px rgba(19, 35, 70, 0.16);
    border: 1px solid rgba(52, 76, 183, 0.1);
    text-align: center;
}

.ux-loader-ring {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 4px solid rgba(52, 76, 183, 0.14);
    border-top-color: #344cb7;
    animation: ux-spin 0.85s linear infinite;
}

.ux-loader-text {
    color: #20304a;
    font-weight: 700;
    font-size: 15px;
}

.ux-loader-subtext {
    color: #6c7893;
    font-size: 12px;
    margin-top: 4px;
}

.ux-loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    z-index: 100000;
    background: linear-gradient(90deg, #ff6b00, #344cb7);
    box-shadow: 0 4px 18px rgba(52, 76, 183, 0.24);
    transition: width 0.25s ease;
}

body.fast-nav-active {
    cursor: progress;
}

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