/* static/notifications.css */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 350px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.notification-toast {
    pointer-events: auto;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-left: 5px solid var(--neon-cyan);
    color: #fff;
    padding: 18px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    animation: slideIn 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.notification-toast.severity-high {
    border-left-color: var(--neon-pink);
    background: rgba(40, 0, 20, 0.9);
    box-shadow: 0 0 20px rgba(255, 0, 115, 0.2);
}

.notification-toast.severity-high::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(255, 0, 115, 0.1) 50%, transparent 52%);
    background-size: 200% 200%;
    animation: scanline 2s linear infinite;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-transform: uppercase;
}

.severity-high .notification-header { color: var(--neon-pink); }

.notification-body {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #eee;
    font-family: 'Roboto Mono', monospace;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--neon-cyan);
    width: 100%;
}

.severity-high .notification-progress { background: var(--neon-pink); }

@keyframes scanline {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@keyframes slideIn {
    from { transform: translateX(120%); filter: blur(10px); }
    to { transform: translateX(0); filter: blur(0); }
}

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