
/* B"H - NOTIFICATIONS & TASKS (Always Visible) */

.task-notification-stack {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 400000; /* Highest priority visual */
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    width: 340px;
    pointer-events: none;
}

.task-card {
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--neon-cyan);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: auto;
    backdrop-filter: blur(15px);
    animation: slideInTask 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s ease;
}

.task-card.success { border-left-color: var(--neon-lime); box-shadow: 0 0 20px var(--glow-lime); }
.task-card.error { border-left-color: var(--color-accent-danger); }

.task-info { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.85em; 
    font-weight: 700; 
    color: #fff; 
    letter-spacing: 0.5px; 
}

.task-progress-bg { 
    background: rgba(255, 255, 255, 0.05); 
    height: 6px; 
    border-radius: 10px; 
    overflow: hidden; 
}

.task-progress-fill { 
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta)); 
    height: 100%; 
    transition: width 0.3s ease-out; 
}

@keyframes slideInTask {
    from { opacity: 0; transform: translateX(50px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

.toast { 
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 500000;
    color: white; 
    padding: 12px 24px; 
    border-radius: 50px; 
    opacity: 0; 
    transition: all 0.3s ease; 
    box-shadow: 0 5px 25px rgba(0,0,0,0.5); 
    font-weight: 600; 
    backdrop-filter: blur(10px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: rgba(168, 255, 0, 0.9); color: #000; }
.toast.error { background: rgba(247, 93, 101, 0.9); }
