/* Aviso tipo "píldora" compartido. Los colores vienen de variables --once4-toast-* */
.once4-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--once4-toast-bg, #111);
    color: var(--once4-toast-text, #fff);
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.once4-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.once4-toast::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--once4-toast-icon-bg, #3ecf8e);
    color: var(--once4-toast-icon, #111);
    font-size: 12px;
    font-weight: 700;
}

.once4-toast-error::before {
    content: "!";
    background: #f87171;
}

@media (prefers-reduced-motion: reduce) {
    .once4-toast { transition: none; }
}
