.ui-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.ui-loader-square {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid #eef3fc;
    border-radius: 3px;
    transform: rotate(0deg);
    animation: uiLoaderSpin 1.6s infinite ease-in-out;
}

.ui-loader-square:nth-child(2) {
    animation-delay: 0.1s;
}

.ui-loader-square:nth-child(3) {
    animation-delay: 0.2s;
}

.ui-loader-square-inner {
    display: block;
    width: 100%;
    height: 0%;
    background: #eef3fc;
    animation: uiLoaderFill 1.6s infinite ease-in-out;
}

@keyframes uiLoaderSpin {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes uiLoaderFill {
    0% {
        height: 0%;
    }
    25% {
        height: 0%;
    }
    50% {
        height: 100%;
    }
    75% {
        height: 100%;
    }
    100% {
        height: 0%;
    }
}

.ui-pull-refresh {
    position: fixed;
    inset: 0 0 auto 0;
    height: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 40;
}

.ui-pull-refresh-indicator {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(8, 12, 19, 0.9);
    opacity: 0;
    transform: translateY(-28px) scale(0.9);
    transition: transform 140ms ease, opacity 140ms ease, border-color 140ms ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.ui-pull-refresh.ready .ui-pull-refresh-indicator,
.ui-pull-refresh.refreshing .ui-pull-refresh-indicator {
    border-color: rgba(136, 255, 0, 0.72);
}
