/* Toast notification system */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 280px;
    max-width: 380px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    pointer-events: all;
    cursor: pointer;
    animation: toastIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    border: 1px solid rgba(255,255,255,0.15);
}

.toast.hide {
    animation: toastOut 0.4s ease forwards;
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast-msg {
    flex: 1;
    line-height: 1.4;
}

.toast.success {
    background: linear-gradient(135deg, rgba(16,185,129,0.9), rgba(5,150,105,0.9));
    color: white;
}

.toast.error {
    background: linear-gradient(135deg, rgba(239,68,68,0.9), rgba(185,28,28,0.9));
    color: white;
}

.toast.info {
    background: linear-gradient(135deg, rgba(99,102,241,0.9), rgba(79,70,229,0.9));
    color: white;
}

.toast.warning {
    background: linear-gradient(135deg, rgba(245,158,11,0.9), rgba(217,119,6,0.9));
    color: white;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(100px); }
}
