/* Système de notifications push */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999999;
    pointer-events: none;
    width: 350px;
}

.notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
    padding: 16px;
    pointer-events: auto;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #10b981;
}

.notification.error {
    border-left-color: #ef4444;
}

.notification.warning {
    border-left-color: #f59e0b;
}

.notification.info {
    border-left-color: #3b82f6;
}

.notification-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.notification.success .notification-icon {
    background: #10b981;
}

.notification.error .notification-icon {
    background: #ef4444;
}

.notification.warning .notification-icon {
    background: #f59e0b;
}

.notification.info .notification-icon {
    background: #3b82f6;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    margin-bottom: 4px;
}

.notification-message {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.notification-close {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
}

.notification-close:hover {
    color: #374151;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #notification-container {
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .notification {
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}