/* check-loader.css — индикатор проверки */
body.check-loader-open { overflow: hidden; }

.check-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.check-loader[hidden] { display: none !important; }

.check-loader__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 28, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.check-loader__card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 22px 20px 18px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: checkLoaderIn 0.35s ease;
}

@keyframes checkLoaderIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.check-loader__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.check-loader__spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--accent);
    animation: checkSpin 0.85s linear infinite;
    flex-shrink: 0;
}

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

.check-loader__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.check-loader__query {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0;
    font-family: ui-monospace, monospace;
    letter-spacing: 0.04em;
    word-break: break-all;
}

.check-loader__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.check-loader__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    transition: background 0.25s, color 0.25s;
}

.check-loader__item > span:nth-child(2) { flex: 1; }

.check-loader__item.is-active {
    background: rgba(255, 114, 80, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

.check-loader__item.is-done {
    color: var(--success);
    background: rgba(12, 195, 107, 0.08);
}

.check-loader__item-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.check-loader__item.is-active .check-loader__item-icon {
    background: rgba(255, 114, 80, 0.15);
    color: var(--accent);
}

.check-loader__item.is-done .check-loader__item-icon {
    background: rgba(12, 195, 107, 0.15);
    color: var(--success);
}

.check-loader__status {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.check-loader__item.is-active .check-loader__status i {
    animation: checkSpin 0.9s linear infinite;
    display: inline-block;
}

.check-loader__progress {
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 999px;
    margin: 16px 0 10px;
    overflow: hidden;
}

.check-loader__bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #ff9a7a);
    border-radius: 999px;
    transition: width 0.5s ease;
}

.check-loader__hint {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

@media (max-width: 480px) {
    .check-loader__card { padding: 18px 16px; }
    .check-loader__item { padding: 8px 10px; font-size: 12px; }
}
