﻿.wait-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 23, 0.72);
    backdrop-filter: blur(3px);
    z-index: 99999;
    transition: opacity 0.3s ease;
}

    .wait-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

.wait-box {
    background: var(--bs-body-bg); /* #101526 */
    color: var(--bs-body-color); /* #e8eefc */
    padding: 28px 26px;
    border-radius: 16px;
    min-width: 260px;
    max-width: 90vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.waitmessage-spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 4px solid rgba(192, 192, 192, .25); /* 3px solid rgba(232, 238, 252, .25) */
    border-top-color: #4f9cff;
    animation: wait-spin 0.9s linear infinite;
}

.wait-message {
    font: 600 16px/1.3 system-ui, Segoe UI, Roboto, Helvetica, Arial;
    user-select: none;
}

.waitonly-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 6px solid rgba(192, 192, 192, .25); /* 3px solid rgba(232, 238, 252, .25) */
    border-top-color: #4f9cff;
    animation: wait-spin 0.9s linear infinite;
}

@keyframes wait-spin {
    to {
        transform: rotate(360deg);
    }
}
