/* Toast notifications — InforAudio B2B */
.b2b-toast-host {
    position: fixed;
    z-index: 99999;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.b2b-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #1a1c20;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.b2b-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.b2b-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
}

.b2b-toast__icon {
    flex: 0 0 auto;
    width: 1.25em;
    text-align: center;
    margin-top: 1px;
}

.b2b-toast__msg {
    flex: 1 1 auto;
}

.b2b-toast__close {
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 2px;
}

.b2b-toast__close:hover {
    opacity: 1;
}

.b2b-toast--success {
    background: #1f7a3f;
}

.b2b-toast--error {
    background: #b42318;
}

.b2b-toast--warning {
    background: #b54708;
}

.b2b-toast--info {
    background: #008AC9;
}

@media (max-width: 600px) {
    .b2b-toast-host {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}
