/* Toast Notification System */
.ps-toast-container {
    position: fixed; top: 16px; right: 16px; z-index: 10000;
    display: flex; flex-direction: column; gap: 8px;
    max-width: 380px; width: 100%;
    pointer-events: none;
}
.ps-toast {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px; border-radius: 10px;
    background: var(--bg-card, #1e293b); border: 1px solid var(--border-color, #334155);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    pointer-events: auto;
    opacity: 0; transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.ps-toast-visible { opacity: 1; transform: translateX(0); }
.ps-toast-exit { opacity: 0; transform: translateX(100%); }

.ps-toast-critical {
    border-left: 3px solid var(--accent-red, #ef4444);
}
.ps-toast-critical .ps-toast-icon { color: var(--accent-red, #ef4444); }

.ps-toast-high {
    border-left: 3px solid var(--accent-yellow, #eab308);
}
.ps-toast-high .ps-toast-icon { color: var(--accent-yellow, #eab308); }

.ps-toast-medium, .ps-toast-low {
    border-left: 3px solid var(--accent-blue, #3b82f6);
}
.ps-toast-medium .ps-toast-icon,
.ps-toast-low .ps-toast-icon { color: var(--accent-blue, #3b82f6); }

.ps-toast-icon {
    flex-shrink: 0; margin-top: 1px;
}
.ps-toast-body { flex: 1; min-width: 0; }
.ps-toast-title {
    font-size: 0.82rem; font-weight: 600; color: var(--text-primary, #f1f5f9);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ps-toast-msg {
    font-size: 0.75rem; color: var(--text-secondary, #94a3b8);
    margin-top: 2px; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ps-toast-close {
    background: none; border: none; color: var(--text-muted, #64748b);
    font-size: 1.1rem; cursor: pointer; padding: 0 2px; line-height: 1;
    flex-shrink: 0;
}
.ps-toast-close:hover { color: var(--text-primary, #f1f5f9); }
