#toast-container {
    position: fixed;
    bottom: 22px;
    left: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    width: 340px;
    background: rgba(15, 8, 30, 0.7);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(168, 128, 248, 0.15);
    box-shadow: 0 10px 35px rgba(0,0,0,0.45);
    color: #fff;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-origin: left bottom;
    animation: toast-in .22s cubic-bezier(.2,.9,.2,1);
}

.toast-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
}

.toast .toast-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.toast .toast-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    }

.toast .toast-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    color: #fff;
}

.toast .toast-message {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    line-height: 1.2;
}

.toast .toast-actions {
    margin-left: 12px;
    display: flex;
    gap: 8px;
}

.toast .toast-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.04);
    color: #fff;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
}

.toast .toast-progress {
    height: 4px;
    background: rgba(255,255,255,0.04);
    width: 100%;
}

.toast .toast-progress > i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,108,199,0.9), rgba(156,92,255,0.9));
    width: 100%;
    transform-origin: left center;
    transition: width linear;
}

.toast.success .toast-icon { 
    background: linear-gradient(90deg,#2ee6a1,#19a66e); 
    color: #06160c 
}

.toast.error .toast-icon { 
    background: linear-gradient(90deg,#ff8a8a,#ff4b4b); 
    color: #3b0606 
}

.toast.info .toast-icon { 
    background: linear-gradient(90deg,#7fb6ff,#5a57ff); 
    color: #071033 
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast.hide {
    animation: toast-out .18s cubic-bezier(.2,.9,.2,1) forwards;
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }
}
