#qb-toast-container {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
}

.qb-toast {
    pointer-events: all;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(139, 15, 8, 0.18);
    border-left: 3px solid #8B0F08;
    border-radius: 10px;
    padding: 13px 14px 16px 14px;
    min-width: 290px;
    max-width: 360px;
    box-shadow: 0 4px 20px rgba(139, 15, 8, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    animation: qb-slide-in 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
    font-family: 'DM Sans', sans-serif;
}

.qb-toast.success {
    border-left-color: #16a34a;
    border-color: rgba(22, 163, 74, 0.18);
}

.qb-toast.info {
    border-left-color: #2563eb;
    border-color: rgba(37, 99, 235, 0.18);
}

.qb-toast.dismissing {
    animation: qb-slide-out 0.22s ease-in forwards;
}

.qb-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(139, 15, 8, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qb-toast.success .qb-toast-icon {
    background: rgba(22, 163, 74, 0.10);
}

.qb-toast.info .qb-toast-icon {
    background: rgba(37, 99, 235, 0.10);
}

.qb-toast-icon svg {
    width: 16px;
    height: 16px;
}

.qb-toast-body {
    flex: 1;
    min-width: 0;
}

.qb-toast-title {
    font-size: 13px;
    font-weight: 600;
    color: #8B0F08;
    margin: 0 0 2px;
    line-height: 1.3;
}

.qb-toast.success .qb-toast-title {
    color: #16a34a;
}

.qb-toast.info .qb-toast-title {
    color: #2563eb;
}

.qb-toast-msg {
    font-size: 13px;
    color: #6b5c52;
    margin: 0;
    line-height: 1.45;
}

.qb-toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    color: #999;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.qb-toast-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #8B0F08;
    transform-origin: left;
    animation: qb-drain 5s linear forwards;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.qb-toast.success .qb-toast-progress {
    background: #16a34a;
}

.qb-toast.info .qb-toast-progress {
    background: #2563eb;
}

@keyframes qb-drain {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@keyframes qb-slide-in {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* normal position */
    }
}

@keyframes qb-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(calc(100% + 24px));
        opacity: 0;
    }
}