/* The toast js/booth-saves.js shows after saving an exhibitor to My Booths (exhibitors page,
   conference page, My Conference). */
.bs-toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 10050;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(520px, calc(100vw - 32px));
    padding: 10px 10px 10px 14px;
    box-sizing: border-box;
    border-radius: 14px;
    background: #12312e;
    color: #e8f3f1;
    font-size: 0.88rem;
    line-height: 1.35;
    box-shadow: 0 18px 40px -16px rgba(8, 30, 28, 0.55), 0 2px 6px rgba(8, 30, 28, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.bs-toast.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.bs-toast-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(244, 185, 40, 0.16);
    color: #f4b928;
}

.bs-toast-icon svg {
    width: 17px;
    height: 17px;
}

.bs-toast.is-error .bs-toast-icon {
    background: rgba(255, 138, 128, 0.16);
    color: #ff9e94;
}

.bs-toast-text {
    flex: 1;
    min-width: 0;
}

.bs-toast-text strong {
    color: #fff;
    font-weight: 650;
}

.bs-toast-action {
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #7fe0d2;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.bs-toast-action:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bs-toast-close {
    display: inline-flex;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(232, 243, 241, 0.6);
    cursor: pointer;
}

.bs-toast-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.bs-toast-close svg {
    width: 15px;
    height: 15px;
}

.bs-toast-action:focus-visible,
.bs-toast-close:focus-visible {
    outline: 2px solid #7fe0d2;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .bs-toast {
        transition: opacity 0.2s ease;
        transform: translate(-50%, 0);
    }
}
