/* css/components/notifications.css */

#notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.notif-item {
    padding: 12px 24px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: #fff;
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: notifIn 0.4s forwards;
    pointer-events: auto;
}

.notif-item.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.notif-item.hide {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
    pointer-events: none;
}

/* Types */
.notif-info {
    border-left: 4px solid #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.notif-warning {
    border-left: 4px solid #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.notif-danger {
    border-left: 4px solid #ff3e3e;
    text-shadow: 0 0 10px rgba(255, 62, 62, 0.5);
}

.notif-success {
    border-left: 4px solid #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

@keyframes notifIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glitch Effect for Danger */
.notif-danger {
    animation: notifIn 0.4s forwards, glitchNotif 0.3s infinite;
}

@keyframes glitchNotif {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}