.eb-process-wait[hidden] {
    display: none;
}

.eb-process-wait {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(21, 34, 48, .48);
}

.eb-process-wait__card {
    width: min(100%, 390px);
    padding: 28px 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(13, 27, 41, .25);
    text-align: center;
    color: #263746;
}

.eb-process-wait__spinner {
    display: inline-block;
    width: 44px;
    height: 44px;
    border: 4px solid #d9e5ee;
    border-top-color: var(--eb-primary, #3e6990);
    border-radius: 50%;
    animation: eb-process-wait-turn .85s linear infinite;
    vertical-align: middle;
}

.eb-process-wait__spinner--inline {
    width: 15px;
    height: 15px;
    border-width: 2px;
    margin-right: 7px;
}

.eb-process-wait__message {
    margin: 18px 0 5px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.eb-process-wait__detail {
    margin: 0;
    color: #586b79;
    font-size: 14px;
    line-height: 1.5;
}

@keyframes eb-process-wait-turn {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .eb-process-wait__spinner { animation: none; }
}
