/* RedAI-Web – Toast component */
#toastContainer {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3000;
}

.toast {
    min-width: 300px;
    max-width: 460px;
    background: rgba(14, 21, 48, 0.96);
    border: 1px solid rgba(124, 58, 237, 0.5);
    color: #eaeaff;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast .ti { font-weight: 700; opacity: 0.95; }
.toast .tx { opacity: 0.95; }

.toast.error {
    background: rgba(24, 10, 18, 0.96);
    border-color: rgba(239, 68, 68, 0.6);
}

.toast.success {
    background: rgba(10, 24, 18, 0.96);
    border-color: rgba(34, 197, 94, 0.6);
}

.toast.warn {
    background: rgba(26, 20, 6, 0.96);
    border-color: rgba(245, 158, 11, 0.6);
}

html[data-mode="light"] .toast {
    background: rgba(255, 255, 255, 0.98);
    color: #0b0f19;
}
