/* ═══════════════════════════════════════════════════════════════════
   NOTIFICATIONS STYLES — Project Ascension
   ═══════════════════════════════════════════════════════════════════ */

#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-notification);
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Let clicks pass through container */
}

.notification {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    width: 320px;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    pointer-events: auto; /* Enable clicks on actual notification */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.notification.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

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

/* ── Content ── */
.notif-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.notif-message {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Progress Bar (Auto-Dismiss) ── */
.notif-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255,255,255,0.1);
}

.notif-progress-fill {
    height: 100%;
    width: 100%;
    background: var(--primary-color);
    animation: progressShrink linear forwards;
}

/* ── Types ── */
.notification.info { border-left: 4px solid var(--info-color); }
.notification.info .notif-icon { color: var(--info-color); }
.notification.info .notif-progress-fill { background: var(--info-color); }

.notification.success { border-left: 4px solid var(--success-color); }
.notification.success .notif-icon { color: var(--success-color); }
.notification.success .notif-progress-fill { background: var(--success-color); }

.notification.warning { border-left: 4px solid var(--primary-color); }
.notification.warning .notif-icon { color: var(--primary-color); }
.notification.warning .notif-progress-fill { background: var(--primary-color); }

.notification.danger { border-left: 4px solid var(--danger-color); }
.notification.danger .notif-icon { color: var(--danger-color); }
.notification.danger .notif-progress-fill { background: var(--danger-color); }
