.alx-tr-bbm {
    position: fixed;
    display: flex;
    align-items: center;
    gap: 14px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    padding: 18px 28px;
    background: #ffffff;
    border-radius: 12px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-width: 380px;
    max-width: 520px;
    animation: slideDownPro 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards,
            slideUpPro 0.3s cubic-bezier(0.4, 0, 1, 1) 3.7s forwards;
}

.alx-tr-bbm::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    border-radius: 12px 0 0 12px;
    background: var(--accent-color);
}

.alx-tr-bbm.tt_success {
    --accent-color: #10b981;
}

.alx-tr-bbm.tt_error {
    --accent-color: #ef4444;
}

.alx-tr-bbm.tt_favorited {
    --accent-color: #ec4899;
}

.alx-tr-bbm.tt_unfavorited {
    --accent-color: #f97316;
}

.alx-tr-bbm.tt_directMessageReport {
    --accent-color: #3b82f6;
}

.alx-tr-bbm.tt_follow {
    --accent-color: #8b5cf6;
}

.alx-tr-bbm.tt_unFollow {
    --accent-color: #64748b;
}

.alx-tr-bbm.tt_product_canceled {
    --accent-color: #f59e0b;
}

.alx-tr-bbm.tt_product_not_canceled,
.alx-tr-bbm.tt_product_canceled_error {
    --accent-color: #dc2626;
}

@keyframes slideDownPro {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-120px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUpPro {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-120px);
    }
}

.alert-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
    background: var(--accent-color);
    flex-shrink: 0;
}

.alert-icon-container svg {
    filter: brightness(0) invert(1);
}

.trp-mdsp-xx {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    letter-spacing: -0.02em;
    line-height: 1.6;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.alert-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.alert-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.alert-close-btn svg {
    width: 14px;
    height: 14px;
    color: #6b7280;
}

@media (max-width: 992px) {
    .alx-tr-bbm {
        max-width: 92%;
        min-width: 320px;
    }
}

@media (max-width: 550px) {
    .alx-tr-bbm {
        max-width: calc(100% - 24px);
        min-width: unset;
        padding: 16px 20px;
        gap: 12px;
        top: 16px;
    }

    .trp-mdsp-xx {
        font-size: 14px;
    }

    .alert-icon-container {
        min-width: 36px;
        min-height: 36px;
    }
}