/* Blocking loading overlay for slow postbacks (registration, signing, payment).
   Driven by vcmShowLoading() / vcmHideLoading() in js/vcm_cp_custom.js.
   Spinner markup reuses the sk-spinner-wave rules in style.css. */

.vcm-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    /* Above bootstrap modals (1050) so it also covers the waiver/contract dialogs. */
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcm-loading-box {
    min-width: 260px;
    max-width: 90%;
    padding: 30px 40px;
    text-align: center;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.vcm-loading-box .sk-spinner-wave.sk-spinner {
    margin-bottom: 18px;
}

.vcm-loading-msg {
    font-size: 15px;
    font-weight: 600;
    color: #676a6c;
}

.vcm-loading-sub {
    margin-top: 6px;
    font-size: 12px;
    color: #9a9da0;
}
