/**
 * Plein écran pendant la préparation / redirection vers Stripe
 */
#onphi-stripe-wait-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

#onphi-stripe-wait-overlay[aria-hidden="false"] {
    display: flex;
}

#onphi-stripe-wait-overlay .onphi-stripe-wait__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

#onphi-stripe-wait-overlay .onphi-stripe-wait__box {
    position: relative;
    max-width: 22rem;
    padding: 1.75rem 1.5rem;
    margin: 1rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#onphi-stripe-wait-overlay .onphi-stripe-wait__spinner {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border: 3px solid rgba(245, 106, 106, 0.25);
    border-top-color: #f56a6a;
    border-radius: 50%;
    animation: onphi-stripe-wait-spin 0.75s linear infinite;
}

#onphi-stripe-wait-overlay .onphi-stripe-wait__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    color: #3d4449;
}

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