/* Système de notifications personnalisé - Lyon Central */

#notification-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(60, 60, 60, 0.95));
    border: 3px solid #ff3b3b;
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(255, 59, 59, 0.6), 0 0 50px rgba(255, 59, 59, 0.4);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.3s ease-out forwards;
    backdrop-filter: blur(10px);
}

.notification.removing {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-120%);
        opacity: 0;
    }
}

.notification-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px currentColor) brightness(1.3);
}

.notification-content {
    flex: 1;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
    animation: progressBar 5s linear forwards;
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Types de notifications */
.notification.error {
    border-color: #ff3b3b;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.2), rgba(40, 40, 40, 0.95));
    box-shadow: 0 10px 30px rgba(255, 59, 59, 0.7), 0 0 60px rgba(255, 59, 59, 0.5);
}

.notification.error .notification-icon {
    filter: drop-shadow(0 0 15px #ff3b3b) brightness(1.5);
}

.notification.success {
    border-color: #2ecc71;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(40, 40, 40, 0.95));
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.7), 0 0 60px rgba(46, 204, 113, 0.5);
}

.notification.success .notification-icon {
    filter: drop-shadow(0 0 15px #2ecc71) brightness(1.5);
}

.notification.info {
    border-color: #3498db;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(40, 40, 40, 0.95));
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.7), 0 0 60px rgba(52, 152, 219, 0.5);
}

.notification.info .notification-icon {
    filter: drop-shadow(0 0 15px #3498db) brightness(1.5);
}

.notification.warning {
    border-color: #f39c12;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(40, 40, 40, 0.95));
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.7), 0 0 60px rgba(243, 156, 18, 0.5);
}

.notification.warning .notification-icon {
    filter: drop-shadow(0 0 15px #f39c12) brightness(1.5);
}
