﻿.cu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15,23,42,.55);
    backdrop-filter: saturate(140%) blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cu-box {
    width: min(440px,92vw);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.08);
    padding: 20px;
    text-align: center;
}

.cu-title {
    font-weight: 800;
    font-size: 18px;
    margin: 0 0 6px;
    color: #0f172a
}

.cu-note {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px
}

.cu-spinner {
    width: 56px;
    height: 56px;
    margin: 10px auto 12px;
    border-radius: 50%;
    border: 4px solid #e5e7eb;
    border-top-color: #6366f1;
    animation: cu-spin 1s linear infinite;
}

@keyframes cu-spin {
    to {
        transform: rotate(360deg)
    }
}

.cu-progress {
    height: 8px;
    background: #eef2ff;
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 10px
}

.cu-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#6366f1,#a855f7)
}

.cu-percent {
    margin-top: 6px;
    font-size: 12px;
    color: #334155;
    font-variant-numeric: tabular-nums
}

.cu-error {
    margin-top: 10px;
    color: #b91c1c;
    font-size: 14px;
    display: none
}

.cu-actions {
    margin-top: 12px
}

.cu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
}

    .cu-btn:hover {
        background: #f8fafc
    }
