.bw-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.bw-toast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px 11px 13px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    pointer-events: all;
    cursor: default;
    max-width: 320px;
    min-width: 200px;
    border: 1px solid transparent;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);

    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.bw-toast--in {
    opacity: 1;
    transform: translateX(0);
}

.bw-toast--out {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.bw-toast--dark {
    background: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.07);
    color: #f0f0f0;
}

.bw-toast--dark.bw-toast--error .bw-toast__icon {
    color: #f07070;
}

.bw-toast--dark.bw-toast--success .bw-toast__icon {
    color: #6dcc8a;
}

.bw-toast--dark .bw-toast__close {
    color: rgba(255, 255, 255, 0.3);
}

.bw-toast--dark .bw-toast__close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.bw-toast--light {
    background: #f0f0f0;
    border-color: rgba(0, 0, 0, 0.07);
    color: #111111;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.bw-toast--light.bw-toast--error .bw-toast__icon {
    color: #d94f4f;
}

.bw-toast--light.bw-toast--success .bw-toast__icon {
    color: #2e9e57;
}

.bw-toast--light .bw-toast__close {
    color: rgba(0, 0, 0, 0.3);
}

.bw-toast--light .bw-toast__close:hover {
    color: rgba(0, 0, 0, 0.7);
}

.bw-toast__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.bw-toast__icon svg {
    fill: none !important;
    display: block;
}

.bw-toast__msg {
    flex: 1;
    min-width: 0;
}

.bw-toast__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.15s ease;
    margin-left: 4px;
}

.bw-toast__close svg {
    fill: none !important;
    stroke: currentColor;
    display: block;
}

@media (max-width: 480px) {
    .bw-toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
    }

    .bw-toast {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}