/* pleaseWait overlay (see js/pleasewait.js): TrueGivers' half-black cover with a white spinner and message. */
#please_wait {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    outline: none;
}

#please_wait[hidden] { display: none; }

#please_wait > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 5px 16px;
    text-align: center;
}

.please-wait__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #ffffff;
    border-right-color: transparent;
    border-radius: 50%;
    animation: please-wait-spin 0.75s linear infinite;
}

.please-wait__text {
    color: #ffffff;
    font-weight: 600;
}

@keyframes please-wait-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .please-wait__spinner { animation-duration: 2s; }
}
